import { Menu } from 'antd'; import Link from 'next/link'; // import type { MenuProps } from 'antd'; // type MenuItem = Required['items'][number]; const items: { label: JSX.Element; key: string }[] = [ { key: '1', label: Fetch }, { key: '2', label: Graphql, }, { key: '3', label: Socket }, { key: '4', label: Stream }, { key: '5', label: Author }, ]; export default function APIAllInOneLayout({ children, // will be a page or nested layout }: { children: React.ReactNode; }) { return ( <>
{children}
); }