Interface ExoticComponent<P>

Type Parameters

  • P = {}

    The props the component accepts.

Hierarchy

  • An object masquerading as a component. These are created by functions like forwardRef, memo, and createContext.

    In order to make TypeScript work, we pretend that they are normal components.

    But they are, in fact, not callable - instead, they are objects which are treated specially by the renderer.

    Parameters

    • props: P

    Returns null | ReactElement<any, string | JSXElementConstructor<any>>

Properties

Properties

$$typeof: symbol

Generated using TypeDoc