From 3940aec0d099c87192e6a4acdca1a22437fe5819 Mon Sep 17 00:00:00 2001 From: gabriel-logan Date: Wed, 29 May 2024 22:50:06 -0300 Subject: [PATCH] fix: Drawer prop types --- docs/src/components/Drawer/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/src/components/Drawer/index.tsx b/docs/src/components/Drawer/index.tsx index e1a3531..26239bd 100644 --- a/docs/src/components/Drawer/index.tsx +++ b/docs/src/components/Drawer/index.tsx @@ -8,7 +8,9 @@ import Drawer from "react-modern-drawer"; import SidebarWrapper from "@/components/SidebarWrapper/js"; -export default function DrawerComponent({ locale }: { locale?: string }) { +import { Langs } from "../Internationalization"; + +export default function DrawerComponent({ locale }: { locale?: Langs }) { const [isOpen, setIsOpen] = useState(false); const toggleDrawer = () => { setIsOpen((prevState) => !prevState);