import { FontAwesomeIcon } from "@fortawesome/react-fontawesome" import type { IconDefinition } from "@fortawesome/free-solid-svg-icons" interface InterestItemProps { title: string fontAwesomeIcon: IconDefinition } export const InterestItem = (props: InterestItemProps): JSX.Element => { const { fontAwesomeIcon, title } = props return (