@aiui/ai-snackbar

1.0.0 • Public • Published

AiSnackbar

Minimal Snackbar / Notification React Component

npm bundle size npm bundle size npm download

Install

npm i @aiui/ai-snackbar

Import

import AiSnackbar from '@aiui/ai-snackbar';

Props

Name Type Default Description
opened bool false If true, the snackbar is open
message string Snackbar Message
onClose func ( ) => { } Callback fired when the component requests to be closed
kind string default Snackbar Kind ('default', 'info', 'error', 'success', 'warning')

Package Sidebar

Install

npm i @aiui/ai-snackbar

Weekly Downloads

1

Version

1.0.0

License

GPL

Unpacked Size

66.9 kB

Total Files

4

Last publish

Collaborators

  • apptitudeinfotech