JSPM

react-native-awesome-snackbar

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 8
  • Score
    100M100P100Q36101F
  • License ISC

React native snackbar

Package Exports

  • react-native-awesome-snackbar
  • react-native-awesome-snackbar/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-awesome-snackbar) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

A package that lets you uplift your SnackBar experience in the React native or React native expo app.

hammer_and_wrench Attributes

  • title: Top label that will be shown in the body
  • message: Body message reflecting some error message, success message etc.
  • conType: Its a contentType class reflecting failure, success, help or warning.
  • duration: Duration of snackbar to show.
  • position: Snackbar position in app "top" or "bottom"

computer Example

Below is a basic example usage of the react-native-awesome-snackbar

 import Snackbar from "react-native-awesome-snackbar"

 // use like this where to use it
 {error &&
 (
 <Snackbar
 duration={5000}
 position="bottom"
 title="Congratulations"
 message="You have successfully read this message. Please continue working!"
 contype="success" />
 )}