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

Интерфейс ClassicComponentClass<P>

interface ClassicComponentClass<P = {}> {
    new ClassicComponentClass(
        props: P,
        context?: any,
    ): ClassicComponent<P, any>;
    new ClassicComponentClass(props: P, context?: any): Component<P, any>;
    childContextTypes?: ValidationMap<any>;
    contextType?: Context<any>;
    contextTypes?: ValidationMap<any>;
    defaultProps?: Partial<P>;
    displayName?: string;
    getDerivedStateFromError?: GetDerivedStateFromError<P, any>;
    getDerivedStateFromProps?: GetDerivedStateFromProps<P, any>;
    propTypes?: WeakValidationMap<P>;
    getDefaultProps?(): P;
}

Параметры типа

  • P = {}

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

Индекс

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

  • Параметры

    • props: P
    • Optionalcontext: any

    Возвращает ClassicComponent<P, any>

  • Параметры

    • props: P
    • Optionalcontext: any

    Возвращает Component<P, any>

Свойства

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

Методы

  • Возвращает P