OptionalbackgroundClassName?: stringOptionalcloseConfirmation?: React.ReactNodeDisplayed content in the close confirmation Drawer (only relevant if confirmOnClose is true).
OptionalconfirmOnClose?: booleanIndicates whether the Drawer should show a confirmation message before closing (useful when the Drawer contains a form to prevent data loss).
OptionaldisableClose?: booleanIndicates whether the Drawer should not allow closing even if an onClose handler is provided.
Optionalid?: stringHTML id of the element.
OptionalifRef?: React.MutableRefObject<HTMLDivElement | null>Ref prop to be provided by the Drawer.If component if used.
OptionalisModal?: booleanDecides if the drawer is a modal or not (if other content is inaccessible while the <Drawer> is open).
Optionallocation?: CardinalLocationThe side of the screen on which to display the <Drawer>.
OptionalonClose?: () => voidCallback function to call when the user clicks the close button or in the modal background (if there is one).
OptionalwrapperClassName?: stringCSS class name to pass to the wrapper element.
OptionalzIndex?: numberOverride for CSS z-index value.
CSS class name to pass to the background element.