import { IconDefinition } from "@fortawesome/fontawesome-svg-core"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { Rule } from "./rule"; interface ReviewProps { name: string; date: Date; content: string; sourceIcon: IconDefinition; sourceUrl: string; sourceName: string; } export const Review = (props: ReviewProps): JSX.Element => { const { name, date, content, sourceIcon, sourceUrl, sourceName } = props; return (
  • Review from{" "} {name} {" "} via{" "} {sourceName}

    {content}

  • ); };