0.1.6 • Published 6 years ago

@materialr/snackbar v0.1.6

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

MaterialR Snackbar

@materialr/snackbar

Build Status Coverage Status NSP Status semantic-release

Material snackbar implementation for React

Installation

$ npm install --save @materialr/snackbar

Demo

A full demo is available on the MaterialR website showcasing all variants.

Components

Default export

import Snackbar from '@materialr/snackbar';

Props

PropTypeRequiredDefaultDescription
actionHandlerfuncNoundefinedThe action handler for the action button
actionTextstringNoundefinedThe text to display on the action button
alignStartboolNofalseWhether the snackbar should align to the start of the screen
classNamestringNoundefinedAdditional classNames to add
multilineboolNofalseWhether the message to display should be displayed over multiple lines
multilineActionOnBottomboolNofalseWhether the action button should go below the multiline text
onHidefuncNoundefinedAn action handler for when the message hides
onShowfuncNoundefinedAn action handler for when the message shows
timeoutnumberNo2750The time before the message hides (in milliseconds)
0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.1

6 years ago

0.0.0

6 years ago