import React from 'react';
import { useSpring, animated } from 'react-spring';
import classNames from 'classnames';
import { ErrorMessage } from 'formik';
import styles from './FormLayout.module.css';
export default function FormLayout({ className, children }) {
return
{children}
;
}
export const FormButtons = ({ className, children }) => (
{children}
);
export const FormError = ({ name }) => {
return {msg => };
};
const ErrorTag = ({ msg }) => {
const props = useSpring({ opacity: 1, from: { opacity: 0 } });
return (
{msg}
);
};
export const FormRow = ({ children }) => {children}
;
export const FormMessage = ({ children }) =>
children ? {children}
: null;