logo

Drawer

Used to display user profile image.

Props:

toggleDrawer

Description: Function to open/close the Drawer. Type: Function. Required.

children

Description: React elements to display. Type: ReactNode.

direction

Description: Component reveals position. Type: "top" | "left" | "right". Default: "top".

style

Description: Container style. Type: CSS Properties.

className

Description: Container className. Type: String.

stepItemStyle

Description: Step Item style. Type: CSS Properties.

stepItemClassName

Description: Step Item className. Type: String.

menuStyle

Description: Menu style. Type: CSS Properties.

menuClassName

Description: Menu className. Type: String.

buttonStyle

Description: Button style. Type: CSS Properties.

buttonClassName

Description: Button className. Type: String.

Code {Drawer && <DrawerComponent toggleDrawer={toggleDrawer} direction='top' > <p>I am a Drawer children.</p> </DrawerComponent> }

PabloSilvaDev - © Copyright 2022