@littlespoon/alert
v1.4.4
Published
Little Spoon alert
Downloads
902
Readme
@littlespoon/alert
Install
Yarn:
yarn add alert
npm:
npm install alert --save
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"
/>