jasongaare / react-native-walkthrough-tooltip

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

Added animation type for RN Modal #145

Open JNelder opened 2 years ago

RyanPliske commented 12 months ago

for those of you looking for a way around this. I was able to get this to work:

class CustomModal extends Modal {
  render(): React.ReactNode {
    // eslint-disable-next-line react/jsx-props-no-spreading
    return <Modal {...this.props} animationType="fade" />
  }
}
<Tooltip
   modalComponent={CustomModal}
>