import type React from 'react'; import { m } from 'framer-motion'; import type { Link } from 'type-route'; export interface TabProps { link: Link; icon: React.ReactNode; title: string; active: boolean; activeRight: boolean; activeLeft: boolean; } export const Tab = ({ link, icon, title, active, activeRight, activeLeft, }: TabProps): JSX.Element => { return (