Юниверс DG SDK UI
v2.15.0

Интерфейс FieldComponentType

Тип компонента Field

interface FieldComponentType {
    new FieldComponentType(
        props: FieldProps,
        context?: any,
    ): Component<FieldProps, any>;
    Checkbox: FieldCheckboxComponentType;
    childContextTypes?: ValidationMap<any>;
    contextType?: Context<any>;
    contextTypes?: ValidationMap<any>;
    DatePicker: FieldDatePickerComponentType;
    defaultProps?: Partial<FieldProps>;
    displayName?: string;
    getDerivedStateFromError?: GetDerivedStateFromError<FieldProps, any>;
    getDerivedStateFromProps?: GetDerivedStateFromProps<FieldProps, any>;
    Input: FieldInputComponentType;
    Label: FieldLabelComponentType;
    Number: FieldNumberComponentType;
    propTypes?: WeakValidationMap<FieldProps>;
    Select: FieldSelectComponentType;
    Switcher: FieldSwitchComponentType;
    Textarea: FieldTextAreaComponentType;
    TreeSelect: FieldTreeSelectComponentType;
}

Иерархия (Просмотр сводки)

Индекс

Конструкторы

Свойства

childContextTypes?: ValidationMap<any>
contextType?: Context<any>
contextTypes?: ValidationMap<any>
defaultProps?: Partial<FieldProps>
displayName?: string
getDerivedStateFromError?: GetDerivedStateFromError<FieldProps, any>
getDerivedStateFromProps?: GetDerivedStateFromProps<FieldProps, any>