import { type Theme, Typography } from '@mui/material';
import type { ReactElement } from 'react';
import { makeStyles } from 'tss-react/mui';
import Dialog from '.';
export default { title: 'Dialog' };
const useStyles = makeStyles()((theme: Theme) => ({
actions: {
borderTop: `.2px solid ${theme.palette.common.white}`
},
content: {
color: theme.palette.common.white
},
paper: {
background: theme.palette.pending.main
},
root: {
background: theme.palette.primary.dark
},
title: {
color: theme.palette.common.white
}
}));
interface Props {
children: ReactElement;
confirmDisabled?: boolean;
submitting?: boolean;
}
const Story = ({ children, ...props }: Props): JSX.Element => (
);
export const normal = (): JSX.Element => (
Dialog
);
export const confirmDisabled = (): JSX.Element => (
Dialog
);
export const confirmDisabledSubmitting = (): JSX.Element => (
Dialog
);
const CustomDialog = (): JSX.Element => {
const { classes } = useStyles();
return (
);
};
export const customDialog = (): JSX.Element => ;