Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

typescript formik useFormik

import {useFormik, FormikProps} from "formik";

interface MyValues {
    id: number;
}
export const MyComponent = () => {
    const formik: FormikProps<MyValues> = useFormik<MyValues>({});
}
 
PREVIOUS NEXT
Tagged: #typescript #formik #useFormik
ADD COMMENT
Topic
Name
2+2 =