Search
    Preparing search index...
    interface ComponentClass<P = {}, S = ComponentState> {
        new ComponentClass(props: P, context?: any): Component<P, S>;
        childContextTypes?: ValidationMap<any>;
        contextType?: Context<any>;
        contextTypes?: ValidationMap<any>;
        defaultProps?: Partial<P>;
        displayName?: string;
        getDerivedStateFromError?: GetDerivedStateFromError<P, S>;
        getDerivedStateFromProps?: GetDerivedStateFromProps<P, S>;
        propTypes?: WeakValidationMap<P>;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • props: P
      • Optionalcontext: any

      Returns Component<P, S>

    Properties

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