mochixuan / react-native-smart-tip

🔥🔥🔥Toast , SnackBar , Modal , Show Toast above Modal
247 stars 37 forks source link

WSnackBar close suggestion #21

Closed sandersonsoares closed 4 years ago

sandersonsoares commented 4 years ago

I would like to leave it as a suggestion: An option to slide to close in SnackBar mode, or to click on the component and close.

The suggestion was to close it, invoking the .hide() method, but it could be a customizable action property as well.

Yes, I know you have a similar option, but it is using text. The ideal would be one executed from the interaction of any area of ​​the component. Using only WSnackBar.show().

mochixuan commented 4 years ago

Thank you very much for your proposal, I will add sliding interaction later

mochixuan commented 4 years ago

The sliding hide function has been added