Alert
Display important messages and notifications to users.
Installation
npm install fuyukaki-uiUsage
import { Alert, AlertTitle, AlertDescription } from 'fuyukaki-ui'
function App() {
return (
<Alert>
<AlertTitle>Alert Title</AlertTitle>
<AlertDescription>
Alert description
</AlertDescription>
</Alert>
)
}Variants
Default Alert
This is a default alert message.
Info
This is an informational message.
Success
Your changes have been saved successfully.
Warning
Please review the following warnings before proceeding.
Error
An error occurred while processing your request.
Props
| Prop | Type | Default |
|---|---|---|
| variant | 'default' | 'info' | 'success' | 'warning' | 'danger' | 'default' |
