First of all, thanks for this library - it's an excellent tool 🤗
None of the components in this library currently forward along refs, which makes it hard to use with other libs. An example use case is with the Tooltip from CharkraUI (https://chakra-ui.com/docs/components/overlay/tooltip#usage), which expects children to be able to forward refs along. I've inlined a quick fork of Geography in my app to make this work. The diff is pretty trivial - would you be open to a PR adding refs so I don't need to live on a fork?
First of all, thanks for this library - it's an excellent tool 🤗
None of the components in this library currently forward along
ref
s, which makes it hard to use with other libs. An example use case is with the Tooltip from CharkraUI (https://chakra-ui.com/docs/components/overlay/tooltip#usage), which expects children to be able to forward refs along. I've inlined a quick fork ofGeography
in my app to make this work. The diff is pretty trivial - would you be open to a PR adding refs so I don't need to live on a fork?Here's an example of the diff for
Geography