import cn from "classnames"; import React, { FunctionComponent } from "react"; import s from "./Sidebar.module.css"; interface Props { className?: string; children?: any; closeSidebar: () => void; } const Sidebar: FunctionComponent = ({ className, children, closeSidebar, }) => { const rootClassName = cn(s.root, className); return (
{children}
); }; export default Sidebar;