Pass ref to useControl as prop instead of position #2056
maxwell-oroark
started this conversation in
Ideas
Replies: 1 comment
-
Try this: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm more or less trying to implement this mapbox example but with the react-map-gl useControl API:
Is there a way to pass a
ref
to a dom element touseControl()
instead of theposition
argument?Beta Was this translation helpful? Give feedback.
All reactions