import { IconButton, IconButtonProps, SvgIconProps } from '@mui/material'; import { ComponentType, FC } from 'react'; import { useBigCenteredButtonStyles } from './useBigCenteredButtonStyles'; export interface BigCenteredButtonProps { Icon: ComponentType; onClick?: VoidFunction; classNames?: string; iconButtonProps?: IconButtonProps & { 'data-testid'?: string }; } /** * A component that adds a big centered icon button with corresponding styles and backdrop * @category React Component */ export const BigCenteredButton: FC = ({ onClick, classNames, iconButtonProps, Icon, }) => { const { classes, cx } = useBigCenteredButtonStyles(); return (
); };