# Interface VoidFunctionComponent<P>

#### Deprecated

- Equivalent to React.FunctionComponent.

#### See

React.FunctionComponent

interface VoidFunctionComponent<P> {
contextTypes?: ValidationMap<any>;
defaultProps?: Partial<P>;
displayName?: string;
propTypes?: WeakValidationMap<P>;
(props, deprecatedLegacyContext?): ReactNode;
}

#### Type Parameters

- P = {}

- VoidFunctionComponent(props, deprecatedLegacyContext?): ReactNode

- #### Parameters

  - props: P
  - `Optional` deprecatedLegacyContext: any

    #### Deprecated

    #### See

    React Docs

  #### Returns ReactNode

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

#####
Index

### Properties

contextTypes?
defaultProps?
displayName?
propTypes?

## Properties

### `Optional` contextTypes

contextTypes?: ValidationMap<any>

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

### `Optional` defaultProps

defaultProps?: Partial<P>

#### Deprecated

Use values for destructuring assignments instead.

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

### `Optional` displayName

displayName?: string

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

### `Optional` propTypes

propTypes?: WeakValidationMap<P>

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