0.0.5 • Published 7 years ago

stui-alert v0.0.5

Weekly downloads
32
License
-
Repository
-
Last release
7 years ago

#Sailthru STUI Alert Component

Name: stui-alert

Installation: npm install stui-alert --save

Usage:

import StuiAlert from 'stui-alert';

<StuiAlert
    message="I am a dismissable Alert (Warning)"
    type="warning"
    isDismissible
    additionalClasses="hello-world"
/>

show is a boolean value which controls the display of the alert

NOTE: You will need to implement the logic to take care of handleApply() and 'handleDismiss()'. You will need to import the Styleguide into the parent page in order to get the CSS