diff --git a/libs/core-components/src/lib/FieldWrapperFormik/fields/FormikCheck.tsx b/libs/core-components/src/lib/FieldWrapperFormik/fields/FormikCheck.tsx index c356b4308..ffacc9bc1 100644 --- a/libs/core-components/src/lib/FieldWrapperFormik/fields/FormikCheck.tsx +++ b/libs/core-components/src/lib/FieldWrapperFormik/fields/FormikCheck.tsx @@ -1,38 +1,34 @@ -import { FieldInputProps, Field, useField } from 'formik'; +import React from 'react'; +import FieldWrapper from '../FieldWrapperFormik'; import { FormikInputProps } from '.'; -import { Input, FormText, FormGroup, Label } from 'reactstrap'; -import styles from './FormikCheck.module.css'; const FormikCheck: React.FC = ({ + id, name, label, required, description, + field, + form, + meta, ...props }: FormikInputProps) => { - const [field] = useField(name); return ( - - - - {description} - - + + + ); };