@rhc-shared-components/form
v4.0.2
Published
Form component for certified technology apps
Keywords
Readme
@rhc-shared-components/form
Form component for certified technology apps
Install
npm install --save @rhc-shared-components/formUsage
import { Formik } from "formik";
import { FormContainer } from "@rhc-shared-components/form";
const MyForm = () => (
<Formik
initialValues={{ name: "" }}
enableReinitialize
onSubmit={(values) => console.log(values)}
>
<FormContainer gridSpan={12}>
{/* Form Elements */}
</FormContainer>
</Formik>
);Development
yarn dev # Start dev server
yarn build # Build library
yarn lint # Check with Biome
yarn lint-fix # Auto-fix with Biome