Search
    Preparing search index...

    Тип компонента элемента дерева

    interface TreeNodeComponentType {
        new TreeNodeComponentType<
            T,
            K extends TreeNodeKeyType = TreeNodeKeyType,
        >(
            props: TreeNodeProps<T, K>,
            context?: any,
        ): Component<TreeNodeProps<T, K>, any>;
        childContextTypes?: ValidationMap<any>;
        contextType?: Context<any>;
        contextTypes?: ValidationMap<any>;
        defaultProps?: Partial<TreeNodeProps<any, TreeNodeKeyType>>;
        displayName?: string;
        propTypes?: WeakValidationMap<TreeNodeProps<any, TreeNodeKeyType>>;
    }
    Index

    Constructors

    Properties

    childContextTypes?: ValidationMap<any>

    Типы контекста для дочерних компонентов.

    contextType?: Context<any>

    Тип контекста.

    contextTypes?: ValidationMap<any>

    Типы контекста для валидации.

    defaultProps?: Partial<TreeNodeProps<any, TreeNodeKeyType>>

    Свойства по умолчанию.

    displayName?: string

    Отображаемое имя компонента.

    Схема валидации свойств.