Closed NoumanSakhawat closed 3 years ago
Hi @NoumanSakhawat, thanks for your contribution. Could you please take some time to match your code style to the style of the project? Keep in mind the following:
getOptionValue(options, "left", 0)
in favor of options.hasKey("left") ? X : Y
logic)As the project maintainer, I use my spare time to review and merge pull requests, and it makes the project easier for me to maintain if the code is clean and consistent. I appreciate it!
I'll love to see this completed, in the meantime, I'm switching to https://github.com/testshallpass/react-native-dropdownalert
Thanks @HugoGresse, that seems like a good alternative for some cases.
I invite you to help contribute to the community if you need this feature; @NoumanSakhawat has not been responsive for many months so I'm going to close their PRs. I welcome future contributions.
Adding Margin for Bottom,Left and Right for Android
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