diff --git a/src/components/Drawer/Drawer.tsx b/src/components/Drawer/Drawer.tsx index a85e8bc..2368bdf 100644 --- a/src/components/Drawer/Drawer.tsx +++ b/src/components/Drawer/Drawer.tsx @@ -20,15 +20,17 @@ export interface DrawerItemProps { export const DrawerItem: React.FC = ({visible, content, direction, className}) => { const itemRef = React.useRef(null); + const cssDirection = direction === 'left' ? undefined : direction; + return ( -
+
{content}