UNPKG

@cmk/fe_utils

Version:
22 lines (20 loc) 931 B
import { CButtonProps } from '../../../../components/buttons/Button'; import { CommonComponentPropertys } from '../../componentProperty'; import { DialogActionsProps, DialogContentProps, DialogContentTextProps, DialogProps, DialogTitleProps } from '@mui/material'; export type AlertWrapperProps = Omit<DialogProps, 'slotProps'> & CommonComponentPropertys & { title?: string; text?: string; leftButtonLabel?: string; rightButtonLabel?: string; onConfirm: () => void; slotProps?: DialogProps['slotProps'] & { dialogTitle?: DialogTitleProps; dialogContent?: DialogContentProps; dialogContentText?: DialogContentTextProps; dialogActions?: DialogActionsProps; leftButton?: CButtonProps; rightButton?: CButtonProps; }; disableAutoFocus?: boolean; }; export declare const AlertWrapper: (props: AlertWrapperProps) => import("react/jsx-runtime").JSX.Element;