import CheckIcon from '@mui/icons-material/Check' import CheckCircleOutlineIcon from '@mui/icons-material/CheckCircleOutline' import CloseIcon from '@mui/icons-material/Close' import MUIAlert from '@mui/material/Alert' import AlertTitle from '@mui/material/AlertTitle' import Box from '@mui/material/Box' import Button from '@mui/material/Button' import Collapse from '@mui/material/Collapse' import IconButton from '@mui/material/IconButton' import Stack from '@mui/material/Stack' import type { ComponentMeta, ComponentStory } from '@storybook/react' import React from 'react' import Alert from './Alert' export default { title: 'Components/Alert', component: Alert, } as ComponentMeta export const Default: ComponentStory = (props) => ( ) export function BasicAlerts1() { return ( This is an error alert — check it out! This is a warning alert — check it out! This is an info alert — check it out! This is a success alert — check it out! ) } export function BasicAlerts2() { return ( This is an error alert — check it out! This is a warning alert — check it out! This is an info alert — check it out! This is a success alert — check it out! ) } export function DescriptionAlerts() { return ( Error This is an error alert — check it out! Warning This is a warning alert — check it out! Info This is an info alert — check it out! Success This is a success alert — check it out! ) } export function ActionAlerts() { return ( {}}> This is a success alert — check it out! UNDO } > This is a success alert — check it out! ) } export function TransitionAlerts() { const [open, setOpen] = React.useState(true) return ( { setOpen(false) }} > } sx={{ mb: 2 }} > Close me! ) } export function IconAlerts() { return ( } severity="success"> This is a success alert — check it out! , }} > This is a success alert — check it out! This is a success alert — check it out! ) } export function ColorAlerts() { return ( This is a success alert — check it out! ) }