import React from 'react'; import Link from 'next/link'; import { useRouter } from 'next/router'; const SettingsLayout: React.FC = ({ children }) => { const router = useRouter(); const activeLinkColor = 'border-indigo-600 text-indigo-500 focus:outline-none focus:text-indigo-500 focus:border-indigo-500'; const inactiveLinkColor = 'border-transparent text-cool-gray-500 hover:text-cool-gray-400 hover:border-cool-gray-300 focus:outline-none focus:text-cool-gray-4700 focus:border-cool-gray-300'; const settingsLink = ({ text, route, regex, }: { text: string; route: string; regex: RegExp; }) => { return ( {text} ); }; return ( <>

Settings

{children}
); }; export default SettingsLayout;