import React, { ReactNode } from 'react';
import Transition from '../../Transition';
import Link from 'next/link';
import { useRouter } from 'next/router';
interface SidebarProps {
open?: boolean;
setClosed: () => void;
}
interface SidebarLinkProps {
href: string;
svgIcon: ReactNode;
name: string;
activeRegExp: RegExp;
as?: string;
}
const SidebarLinks: SidebarLinkProps[] = [
{
href: '/',
name: 'Dashboard',
svgIcon: (
),
activeRegExp: /^\/(discover\/?(movies|tv)?)?$/,
},
];
const Sidebar: React.FC = ({ open, setClosed }) => {
const router = useRouter();
return (
<>
>
);
};
export default Sidebar;