@real-system/alert-primitive
v0.0.24
Published
Alert primitive component for real system.
Downloads
10
Maintainers
Readme
Installation
# install peer dependencies
# npm
$ npm install react react-dom
# yarn
$ yarn add react react-dom
# install alert-primitive
# npm
$ npm install @real-system/alert-primitive
# yarn
$ yarn add @real-system/alert-primitive
Code Example
import { AlertPrimitive } from '@real-system/alert-primitive';
const PoliteAlert = () => <AlertPrimitive>Alert primitive Content</AlertPrimitive>;
const AssertiveAlert = () => <AlertPrimitive type="assertive">Alert primitive Content</AlertPrimitive>;