@paradise-ui/alert
v1.0.0-beta.2
Published
A component to display contextual messages such as information, success, warning and error messages
Downloads
8
Maintainers
Readme
@paradise-ui/alert
A component to display contextual messages such as information, success, warning and error messages
Installation
Every Paradise UI component is designed to be able to run as a standalone component. So, you can just install them by running this command
yarn add @paradise-ui/alert
# or
npm i @paradise-ui/alert
# or
pnpm i @paradise-ui/alert
Usage
import { Alert } from '@paradise-ui/alert'
import '@package-ui/alert/style'
const ParentComponent = () => {
return <Alert>Lorem ipsum dolor sit amet</Alert>
}
If you install the whole paradise UI package, you dont have to import the style, but you have to wrap the component inside ParadiseUIProvider
Demo
Checkout our storybook for demo and more use cases.
Licence
This project is licensed under the terms of the MIT license.