calintamas / react-native-toast-message

Animated toast message component for React Native
MIT License
1.6k stars 252 forks source link

Set swipeable prop on Toast component #542

Open hichemfantar opened 2 months ago

hichemfantar commented 2 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 1 week ago

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

hichemfantar commented 1 week 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.