Interface ProviderExoticComponent<P>

An ExoticComponent with a propTypes property applied to it.

interface ProviderExoticComponent<P> {
    $$typeof: symbol;
    propTypes?: WeakValidationMap<P>;
    (props): null | ReactElement<any, string | JSXElementConstructor<any>>;
}

Type Parameters

  • P

    The props the component accepts.

Hierarchy (view full)

Properties

Properties

$$typeof: symbol
propTypes?: WeakValidationMap<P>

Generated using TypeDoc