1.2.0 • Published 6 years ago

@s-ui/sui-molecule-notification v1.2.0

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

MoleculeNotification

Notifications offer users information on the system. The content may confirm that an action has been performed correctly, warn the user of an error or simply give information on certain circumstances.

Installation

$ npm install @s-ui/sui-molecule-notification --save

Usage

Basic usage

import MoleculeNotification from '@s-ui/sui-molecule-notification'

// sui-atom-button
const BUTTONS = [
  {
    type: 'secondary',
    children: 'Secondary',
    negative: true
  },
  {
    type: 'primary',
    children: 'Primary',
    negative: true
  }
]

return (
  <MoleculeNotification 
    text='Lorem fistrum'
    type='success',
    autoclose='short'
    buttons={BUTTONS} 
  />
)

Find full description and more examples in the demo page.