@littlespoon/alert
TypeScript icon, indicating that this package has built-in type declarations

1.4.4 • Public • Published

@littlespoon/alert

NPM version

Install

Yarn:

yarn add alert

npm:

npm install alert --save

UNPKG

Usage

import Alert from '@littlespoon/alert'

Render Alert:

<Alert />

Render alert with props:

<Alert title="Alert Title" description="Alert description" onClose={onClose} variant="success" />

Render alert with relative position:

<Alert
  type="relative"
  title="Alert Title"
  description="Alert description"
  onClose={onClose}
  variant="success"
/>

Readme

Keywords

Package Sidebar

Install

npm i @littlespoon/alert

Weekly Downloads

291

Version

1.4.4

License

UNLICENSED

Unpacked Size

41.3 kB

Total Files

22

Last publish

Collaborators

  • littlespoondev
  • remarkablemark