import type React from "react"; import type { BackdropProps, DrawerProps, ModalProps, PaperProps, SlideProps, SxProps, Theme } from "@mui/material"; import type { FlexDrawerClasses } from "./flexDrawerClasses.js"; export interface FlexDrawerProps extends Omit { /** * Override or extend the styles applied to the component. */ classes?: Partial; /** * The content of the component. */ children?: React.ReactNode; variant?: "temporary" | "persistent"; resizable?: boolean; /** * The initial size of the drawer, in pixels. This corresponds to width if anchor="left" or anchor="right", * or height if anchor="top" or anchor="bottom". * @default 240 */ initialSize?: number; /** * The maximum size of the drawer, in pixels. This corresponds to width if anchor="left" or anchor="right", * or height if anchor="top" or anchor="bottom". * @default 600 */ maxSize?: number; /** * The minimum size of the drawer, in pixels. This corresponds to width if anchor="left" or anchor="right", * or height if anchor="top" or anchor="bottom". * @default 60 */ minSize?: number; /** * The size of the area around the resize handle that responds to user input, in pixels. * @default 12 */ dragAreaSize?: number; slotProps?: { paper?: Partial; modal?: Partial; backdrop?: Partial; slide?: Partial; }; sx?: SxProps; }