import React, { FC, ReactNode } from 'react'; export interface FormProps { className?: string; action?: string; onSubmit?: (e) => void; method?: string; name?: string; novalidate?: boolean; children?: ReactNode; } const Form: FC = ({ children, action, onSubmit, method, name, className = '', novalidate = false, }) => (
{children}
); export default Form;