Skip to content

onOpen() and onClose() pass props - #373

Open
riktov wants to merge 1 commit into
fullstackreact:masterfrom
riktov:patch-1
Open

onOpen() and onClose() pass props#373
riktov wants to merge 1 commit into
fullstackreact:masterfrom
riktov:patch-1

Conversation

@riktov

@riktov riktov commented Sep 11, 2019

Copy link
Copy Markdown

By letting onOpen() and onClose() pass this.props to the callback, the originating InfoWindow can be identified by props passed to it. This allows multiple InfoWindows to be used.

注册 for free to join this conversation on GitHub. Already have an account? 登录 to comment

标签

None yet

项目

None yet

Development

Successfully merging this pull request may close these issues.

2 participants