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

# publisherHeadingDefaultTextStyleV2()

- Package: [@gooddata/sdk-model](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/index.md)
- Kind: function
- Stability: alpha
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-model/src/publisher/v2/widget.ts

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Text style a heading uses when its style sets none: `h(n+1)` for level n, `h6` for levels 5 and 6.

**Signature:**

```typescript
export declare function publisherHeadingDefaultTextStyleV2(level?: PublisherHeadingLevelV2): Extract<PublisherTextStyleNameV2, "h2" | "h3" | "h4" | "h5" | "h6">;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| level | [PublisherHeadingLevelV2](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.publisherheadinglevelv2/index.md) | _(Optional)_ |

**Returns:**

Extract&lt;[PublisherTextStyleNameV2](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.publishertextstylenamev2/index.md), "h2" &#124; "h3" &#124; "h4" &#124; "h5" &#124; "h6"&gt;
