Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Allow different tags for Target #107

Closed
tgreen7 opened this issue Mar 19, 2018 · 2 comments
Closed

Allow different tags for Target #107

tgreen7 opened this issue Mar 19, 2018 · 2 comments

Comments

@tgreen7
Copy link

tgreen7 commented Mar 19, 2018

I am trying to have a Popover in an svg, but it seems like the Target element is always rendered as a <div>. This is making my Popovers not show up in svg elements.

@souporserious
Copy link
Collaborator

You can use the component prop to change the rendered DOM node of Target. Please see in the docs here, as well as an example of using a custom component here.

@tgreen7
Copy link
Author

tgreen7 commented Mar 19, 2018

Awesome thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants