import { type FC } from 'react' type Props = { errorText: string } const Error: FC = (props: Props) => { return (
{props.errorText}
) } export default Error