Search
    Preparing search index...
    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;
    }

    Type Parameters

    • P = {}

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • props: P
      • Optionalcontext: any

      Returns ClassicComponent<P, any>

    • Parameters

      • props: P
      • Optionalcontext: any

      Returns Component<P, any>

    Properties

    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>

    Methods

    • Returns P