# Interface NamedExoticComponent<P>

An ExoticComponent with a `displayName` property applied to it.

interface NamedExoticComponent<P> {
$$typeof: symbol;
displayName?: string;
(props): ReactNode;
}

#### Type Parameters

- P = {}

  The props the component accepts.

#### Hierarchy (view full)

- ExoticComponent<P>
  - NamedExoticComponent
    - ForwardRefExoticComponent

- NamedExoticComponent(props): ReactNode

- #### Parameters

  - props: P

  #### Returns ReactNode

  - Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:644

#####
Index

### Properties

$$typeof
displayName?

## Properties

### `Readonly` $$typeof

$$typeof: symbol

Inherited from ExoticComponent.$$typeof

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:636

### `Optional` displayName

displayName?: string

Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.

#### See

Legacy React Docs

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:652