import { MetaKind } from '@ts/types/app'; import { TopicPreview } from '@ts/types/taxonomies'; import Link from 'next/link'; import { useIntl } from 'react-intl'; import { MetaItem } from '..'; const Topics = ({ list, kind }: { list: TopicPreview[]; kind: MetaKind }) => { const intl = useIntl(); const getTopics = () => { return list.map((topic) => { return ( {topic.title} ); }); }; return ( ); }; export default Topics;