import type { Theme } from '@mui/material'; import type { ComponentMeta, ComponentStory } from '@storybook/react'; import { makeStyles } from 'tss-react/mui'; import LicenseMessage from '.'; const useStyles = makeStyles()((theme: Theme) => ({ root: { background: theme.palette.error.main, color: theme.palette.common.white, padding: theme.spacing(1) } })); export default { argTypes: { label: { control: 'text' } }, component: LicenseMessage, title: 'License Message' } as ComponentMeta; const TemplateLicenseMessage: ComponentStory = ( args ) => ; export const PlaygroundLicenseMessage = TemplateLicenseMessage.bind({}); export const normal = (): JSX.Element => ; export const withLabel = (): JSX.Element => ( ); const CustomLicenseMessage = (): JSX.Element => { const { classes } = useStyles(); return ; }; export const customLicenseMessage = (): JSX.Element => ;