import React, { FC } from 'react' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { IconDefinition } from '@fortawesome/free-solid-svg-icons' import { useTheme } from '../../hooks' import FieldLabel from '../../components/controls/field-label' interface Props { label: string value?: string icon?: IconDefinition } const StaticField: FC = ({ label, value, icon }) => { const theme = useTheme() return (
{label}
{icon &&
}
) } export default StaticField