> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# Function: InitDataConsumer()

> **InitDataConsumer**(`props`: `ConsumerProps`): `ReactNode`

The [Consumer](https://react.dev/reference/react/createContext#consumer) Component that provide `initData`.
This should be used with [InitDataProvider](/next/api/react/Components/InitDataProvider.md)

## Parameters

| Parameter | Type            |
| --------- | --------------- |
| `props`   | `ConsumerProps` |

## Returns

`ReactNode`
