import React from "react"; import NavLink from "../Link"; import { css } from '@emotion/css'; import Link from './Link'; type NavigationElement = { exact?: string href: string label: string } type Subgroup = { title: string links: NavigationElement[] } type Element = { label: string href?: string children?: Element[] } export type SidebarProps = { header: string elements?: Element[] groups?: Array<{ title?: string groups: Subgroup[] links: Array }> } const Sidebar: React.FC = ({ children, header, elements, groups, ...props }) => { return ( ) } Sidebar.defaultProps = { groups: [] } export default Sidebar