@ant-design/compatible
Version:
Ant Design v3 to v4 compatible package
13 lines (12 loc) • 388 B
TypeScript
import * as React from 'react';
import type { ColProps } from 'antd/lib/grid/col';
import type { FormLabelAlign } from './FormItem';
export interface FormContextProps {
vertical: boolean;
colon?: boolean;
labelAlign?: FormLabelAlign;
labelCol?: ColProps;
wrapperCol?: ColProps;
}
declare const FormContext: React.Context<FormContextProps>;
export default FormContext;