1 | import React from 'react';
|
2 | import { FormLayout } from '.';
|
3 | import type { Meta, InternalNamePath } from 'rc-field-form/lib/interface';
|
4 | export declare type FormContextType = {
|
5 | name?: string;
|
6 | hasFeedback: boolean;
|
7 | layout: FormLayout;
|
8 | requiredMarkStyle: 'asterisk' | 'text-required' | 'text-optional' | 'none';
|
9 | disabled: boolean;
|
10 | };
|
11 | export declare const defaultFormContext: FormContextType;
|
12 | export declare const FormContext: React.Context<FormContextType>;
|
13 | export declare type OnSubMetaChange = (meta: Meta & {
|
14 | destroy?: boolean;
|
15 | }, namePath: InternalNamePath) => void;
|
16 | export declare const NoStyleItemContext: React.Context<OnSubMetaChange | null>;
|