calintamas / react-native-toast-message

Animated toast message component for React Native
MIT License
1.73k stars 265 forks source link

Set swipeable prop on Toast component #542

Open hichemfantar opened 7 months ago

hichemfantar commented 7 months ago

Is your feature request related to a problem? Please describe. Unable to set swipeable default value

Describe the solution you'd like set swipeable prop on Toast component

Describe alternatives you've considered Similar to https://github.com/calintamas/react-native-toast-message/pull/446 but on the Toast component.

Additional context

        <Toast
            swipeable={false}
        />
amerllica commented 4 months ago

Yeah, I encountered that. The main component hasn't got the swipeable prop type.

hichemfantar commented 4 months ago

It seems that it is possible to set the swipeable prop https://github.com/calintamas/react-native-toast-message/blob/main/docs/api.md#props

I don't know remember why i created this issue.