Skip to content

Commit

Permalink
fix: Drawer prop types
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-logan committed May 30, 2024
1 parent c193a2b commit 3940aec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/src/components/Drawer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3940aec

Please sign in to comment.