MCPcopy Create free account
hub / github.com/QuarkGluonPlasma/react-course-code / FormProps

Interface FormProps

form-component/src/Form/Form.tsx:5–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import FormContext from './FormContext';
4
5export interface FormProps extends React.HTMLAttributes<HTMLFormElement> {
6 className?: string;
7 style?: CSSProperties;
8 onFinish?: (values: Record<string, any>) => void;
9 onFinishFailed?: (errors: Record<string, any>) => void;
10 initialValues?: Record<string, any>;
11 children?: ReactNode
12}
13
14export interface FormRefApi {
15 getFieldsValue: () => Record<string, any>,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected