File tree 1 file changed +2
-2
lines changed
website/docs/components/text/partials/code
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ The `Text` component is used through these specialized variants: `Hds::Text::Dis
8
8
<C.Property @name ="size" @type ="string" @values ={{array "500" "400" "300" "200" "100" }} @default ="200">
9
9
The size of the ` Display ` text style.
10
10
</C.Property>
11
- <C.Property @name ="tag" @type ="string " @default ="span">
12
- HTML tag to be used to render the text element.
11
+ <C.Property @name ="tag" @type ="HTMLElementTagName " @default ="span">
12
+ A valid HTML tag name to be used to render the text element.
13
13
</C.Property>
14
14
<C.Property @name ="weight" @type ="string" @values ={{array "medium" "semibold" "bold" }}>
15
15
The font weight of the text. If no ` @weight ` argument is provided, the component will inherit its weight from the parent container/context.<br ><br >
You can’t perform that action at this time.
0 commit comments