import React from 'react'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { IconProp } from '@fortawesome/fontawesome-svg-core'; interface Props { icon?: IconProp; title: string; className?: string; children: React.ReactNode; } export default ({ icon, title, children, className }: Props) => (
{icon &&