Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 902 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 902 Bytes

react-native-snack-bar

A snackBar component for React Native

image

Note

This repo is forked by SiDevesh, The function is the same, I refactor it with ES6 synax and eslint which looks make more sense. Also with example code attached in the repo.

Getting started

npm install react-native-snack-bar --save

Properties

Prop Description Default
containerStyle The style for the component container. None
actionTextStyle The style for the action text. None
messageTextStyle The style for the message text. None
messageText The content to display. ''
actionText The action text to display. ''
isVisible Indicates if the snackbar is visible. True
onActionClick The callback when the action is clicked. None