Skip to content

Commit 2528750

Browse files
Add changeset
1 parent 994c43b commit 2528750

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.changeset/plenty-pots-relax.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
"@obosbbl/grunnmuren-react": patch
3+
---
4+
5+
`<Card>` now respects the `size` prop (if set) on it's `<Heading>`. This makes it possible to customize the size of the heading in a `<Card>`:
6+
7+
``` tsx
8+
<Card>
9+
<Content>
10+
<Heading level={3} size="m">Medium heading</Heading>
11+
<p>
12+
This heading is customized
13+
</p>
14+
</Content>
15+
</Card>
16+
```

0 commit comments

Comments
 (0)