Type Alias: SideModalProps
SideModalProps:
object
SideModal component props.
Type declaration
Name | Type | Description |
---|---|---|
anchor | DrawerProps ["anchor" ] | Side of the screen from which the drawer will appear ("left" |
backgroundColor | string | Background color of the drawer |
children | ReactNode | Content to display inside the drawer |
closeIconColor | string | Color of the close icon |
headerBackgroundColor | string | Background color of the header |
open | boolean | Whether the drawer is open |
sx | SxProps <Theme > | Custom styles to apply to the drawer |
textProps | TextProps | Props to pass to the Text component |
title | string | Optional title text to display in the header |
toggleDrawer | () => void | Function to toggle the drawer open/close state |
width | string | number | Width of the drawer |
Defined in
packages/react-material-ui/src/components/SideModal/SideModal.tsx:14 (opens in a new tab)