mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 20:13:49 +00:00
13 lines
342 B
TypeScript
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;
|