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

# IThemeContextProviderProps

- Package: [@gooddata/sdk-ui-theme-provider](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-theme-provider/index.md)
- Kind: interface
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui-theme-provider/src/ThemeProvider/Context.tsx

**Signature:**

```typescript
export interface IThemeContextProviderProps 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [children?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-theme-provider/sdk-ui-theme-provider.ithemecontextproviderprops/index.md#ithemecontextproviderpropschildren) |  | ReactNode | _(Optional)_ React children |
| [isScopeThemed?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-theme-provider/sdk-ui-theme-provider.ithemecontextproviderprops/index.md#ithemecontextproviderpropsisscopethemed) |  | boolean | _(Optional)_ Whether the theme object comes from ScopedThemeProvider |
| [referenceTheme?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-theme-provider/sdk-ui-theme-provider.ithemecontextproviderprops/index.md#ithemecontextproviderpropsreferencetheme) |  | [ITheme](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.itheme/index.md) | _(Optional)_ Theme of record for computations that must not depend on application-specific presentation adjustments (e.g. a stripped complementary palette). |
| [theme](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-theme-provider/sdk-ui-theme-provider.ithemecontextproviderprops/index.md#ithemecontextproviderpropstheme) |  | [ITheme](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.itheme/index.md) \| undefined | Theme object contains properties to be used instead of default ones. When undefined, no theme is applied and default styling is used. |
| [themeIsLoading](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-theme-provider/sdk-ui-theme-provider.ithemecontextproviderprops/index.md#ithemecontextproviderpropsthemeisloading) |  | boolean | Flag telling whether the theme object is being loaded or not |
| [themeStatus?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-theme-provider/sdk-ui-theme-provider.ithemecontextproviderprops/index.md#ithemecontextproviderpropsthemestatus) |  | [ThemeStatus](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-theme-provider/sdk-ui-theme-provider.themestatus/index.md) | _(Optional)_ Status telling whether the theme object is being loaded or not Started in pending state, then switches to loading and finally to success Can skip loading if theme does not have to be loaded from backend |

## Property details

### IThemeContextProviderProps.children

React children

**Signature:**

```typescript
children?: ReactNode;
```

### IThemeContextProviderProps.isScopeThemed

Whether the theme object comes from ScopedThemeProvider

**Signature:**

```typescript
isScopeThemed?: boolean;
```

### IThemeContextProviderProps.referenceTheme

Theme of record for computations that must not depend on application-specific presentation adjustments (e.g. a stripped complementary palette).

**Signature:**

```typescript
referenceTheme?: ITheme;
```

#### Remarks

When undefined, the reference from an enclosing provider is inherited, falling back to the theme itself.

### IThemeContextProviderProps.theme

Theme object contains properties to be used instead of default ones. When undefined, no theme is applied and default styling is used.

**Signature:**

```typescript
theme: ITheme | undefined;
```

### IThemeContextProviderProps.themeIsLoading

> Warning: This API is now obsolete.
> 
> use themeStatus instead
> 

Flag telling whether the theme object is being loaded or not

**Signature:**

```typescript
themeIsLoading: boolean;
```

### IThemeContextProviderProps.themeStatus

Status telling whether the theme object is being loaded or not Started in pending state, then switches to loading and finally to success Can skip loading if theme does not have to be loaded from backend

**Signature:**

```typescript
themeStatus?: ThemeStatus;
```
