1.0.0 • Published 1 month ago

@j4jinxx/snackbar v1.0.0

Weekly downloads
-
License
GPL
Repository
github
Last release
1 month ago

Snackbar

Minimal Snackbar/Notification React Component

npm bundle size npm bundle size npm download

Install

npm i @j4jinxx/snackbar

Import

import Snackbar from '@j4jinxx/snackbar';

Props

NameTypeDefaultDescription
openedboolfalseIf true, the snackbar is open
messagestringSnackbar Message
onClosefunc( ) => { }Callback fired when the component requests to be closed
kindstringdefaultSnackbar Kind ('default', 'info', 'error', 'success', 'warning')