import Link from 'next/link' export interface ActiveLinkProps { href?: string activeStyle?: React.CSSProperties } export const ActiveLink: React.FC = props => props.href ? ( {props.children} ) : ( {props.children} )