UNPKG

@wulperstudio/cms

Version:
20 lines (19 loc) 645 B
import { BoxProps } from '@mui/material'; import { ReactNode } from 'react'; import { Omit } from '../../types'; export type DrawerVariant = 'temporary' | 'persistent' | 'divider'; export interface DrawerModel { open?: boolean; onClose?: () => void; variant?: DrawerVariant; children: ReactNode; direction?: 'left' | 'right' | 'top' | 'bottom'; animation?: boolean; width?: string | number; backgroundColor?: string; boxShadow?: string; padding?: string; border?: string; mainContainerProps?: BoxProps; contentProps?: Omit<BoxProps, 'width' | 'height' | 'border' | 'boxShadow' | 'padding'>; }