Skip to content

Bug - fix code example of customized title on typography page #4376

@mcoker

Description

@mcoker

The code below looks like a bug? Both blocks are the same code

<Title headingLevel="h2"> This is a default "xl" H2. </Title>
```<Title headingLevel="h2" size='lg'> Aa </Title>```
<Title headingLevel="h2" size='lg'> This is a customized "lg" H2. </Title>
```<Title headingLevel="h2" size='lg'> Aa </Title>```

I'm assuming the first block should just omit the size prop and use the default, like <Title headingLevel="h2"> Aa </Title>

Metadata

Metadata

Assignees

Labels

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions