Skip to content

Commit 82954a4

Browse files
mimarzBarsnes
andauthored
fix(heading): remove wrong default in jsdoc (#4926)
Co-authored-by: Tobias Barsnes <tobias.barsnes@digdir.no>
1 parent 2fcf39c commit 82954a4

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.changeset/sweet-hornets-greet.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@digdir/designsystemet-react": patch
3+
---
4+
5+
**Heading**: fix wrong default in `HeadingProps` for `data-size`

packages/react/src/components/heading/heading.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ export type HeadingProps = {
1111
level?: 1 | 2 | 3 | 4 | 5 | 6;
1212
/**
1313
* Changes text sizing
14-
* @default 'md'
1514
*/
1615
'data-size'?: '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
1716
/**

0 commit comments

Comments
 (0)