Files
the-biergarten-app/components/ui/forms/FormInfo.tsx
2023-01-23 20:13:25 -05:00

13 lines
342 B
TypeScript

import { FunctionComponent, ReactNode } from 'react';
/** A container for both the form error and form label. */
interface FormInfoProps {
children: Array<ReactNode> | ReactNode;
}
const FormInfo: FunctionComponent<FormInfoProps> = ({ children }) => (
<div className="flex justify-between">{children}</div>
);
export default FormInfo;