cooperka / react-native-snackbar

:candy: Material Design "Snackbar" component for Android and iOS.
Other
823 stars 152 forks source link

Support margin bottom/left/right for iOS #138

Closed noumansakhawat-dev closed 4 years ago

noumansakhawat-dev commented 4 years ago

Adding Margin for Bottom,Right and Left in IOS

How to use: Include an action Button with Margin:

Snackbar.show({ title: "Your Message", left: 8, bottom: 8, right: 8, action: { title: "Dismiss", onPress: () => { / Do something. / Snackbar.dismiss(); } } });

Related to #15

cooperka commented 4 years ago

Hi @NoumanSakhawat, same request here as #137, could you please take some time to match your code style to the style of the project?

In addition, could you please add documentation to the README file explaining how to use the new options that you've added? Thanks!

cooperka commented 4 years ago

@NoumanSakhawat has not been responsive for many months so I'm going to close their PRs. I welcome future contributions.