> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# PlaceholdersProvider()

- Package: [@gooddata/sdk-ui](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/index.md)
- Kind: function
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui/src/base/react/placeholders/context.tsx
- Guides: [Swap visualization inputs with placeholders](https://www.gooddata.ai/docs/gooddata-ui/latest/data-layer/data-model/visualization-placeholders/index.md)

Wraps component into a PlaceholdersContext consumer enabling the children of this to access the current placeholders state.

**Signature:**

```typescript
export declare function PlaceholdersProvider(input: IPlaceholdersProviderProps): ReactElement;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| { children, initialValues } | (not declared) |  |
| input | [IPlaceholdersProviderProps](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.iplaceholdersproviderprops/index.md) |  |

**Returns:**

ReactElement
