jasongaare / react-native-walkthrough-tooltip

An inline wrapper for calling out React Native components via tooltip
MIT License
610 stars 182 forks source link

Add children to TooltipProps #154

Closed devon-whil closed 1 year ago

devon-whil commented 2 years ago

Fixes the following error which occurs when trying to nest anything within the tooltip:

Property 'children' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Tooltip> & Readonly<TooltipProps>'.
devon-whil commented 2 years ago

@jasongaare What do you think about this?

marcel925 commented 2 years ago

+1. Had the same error in TypeScript, and I was just going to make the same pull request 👍

lornebb commented 1 year ago

Currently have this exact fix on patch-package. Would love this merged. :)

b-steel commented 1 year ago

Same issue, would be nice to have implemented

jlpopken commented 1 year ago

Also would love to see this merged into the project.