import Link from 'next/link'; import { slug } from 'github-slugger'; interface Props { text: string; } const Tag = ({ text }: Props) => { return ( {text.split(' ').join('-')} ); }; export default Tag;