import type { Theme } from '@mui/material'; import type { ComponentMeta, ComponentStory } from '@storybook/react'; import { makeStyles } from 'tss-react/mui'; import StatusChip, { SeverityCode } from '.'; const useStyles = makeStyles()((theme: Theme) => ({ root: { '&:hover': { background: theme.palette.primary.dark, cursor: 'pointer' }, background: theme.palette.primary.light, borderRadius: 0, width: theme.spacing(50) } })); export default { argTypes: { clickable: { control: 'boolean' }, label: { control: 'text' } }, component: StatusChip, title: 'StatusChip' } as ComponentMeta; const TemplateStatusChip: ComponentStory = (args) => ( ); export const PlaygroundStatusChip = TemplateStatusChip.bind({}); PlaygroundStatusChip.args = { clickable: true, label: 'Status CHip Label' }; export const withOkSeverityCode = (): JSX.Element => ( ); export const withMediumSeverityCode = (): JSX.Element => ( ); export const withHighSeverityCode = (): JSX.Element => ( ); export const withNoneSeverityCode = (): JSX.Element => ( ); export const withPendingSeverityCode = (): JSX.Element => ( ); export const withHighSeverityCodeAndWithoutLabel = (): JSX.Element => ( ); export const withNoneSeverityCodeAndWithoutLabel = (): JSX.Element => ( ); const CustomStatusShip = (): JSX.Element => { const { classes } = useStyles(); return ( ); }; export const customStatusShip = (): JSX.Element => ;