First, you need to import a component to your code (сheck component path is right):
import Drawer from "../../core/Drawer";
To use the component, copy and paste an example from the CODE tab.
Default props of component can be omitted, they are applied automatically. For example, you can skip the prop type='def', because 'def' is the default value of prop 'type'.
type
view
color
className
position
size
title
icon
onClose
hasBackdrop
isCloseButtonShown
transitionDuration
usePortal
< Drawer onClose = { () => setOpen(!isOpen) } isOpen = { false } size = '50%' position = 'right' > Children < / Drawer >