Skip to content

Commit 531d69f

Browse files
authored
Fix formatting of Text component example in docs
1 parent fb51f0a commit 531d69f

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

docs/text-style-props.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -834,14 +834,14 @@ Configures variation axes for a variable font. Each axis is identified by a four
834834
The object and string forms below are equivalent; both set the wght axis to 500:
835835

836836
```tsx
837-
<Text
838-
style={{
839-
fontVariationSettings: {wght: 500},
840-
// Equivalent CSS-compatible string:
841-
fontVariationSettings: "'wght' 500",
842-
}}>
843-
Variable font
844-
</Text>
837+
<Text
838+
style={{
839+
fontVariationSettings: {wght: 500},
840+
// Equivalent CSS-compatible string:
841+
fontVariationSettings: "'wght' 500",
842+
}}>
843+
Variable font
844+
</Text>
845845
```
846846

847847
For more information about variation axes and the CSS string syntax, see MDN's font-variation-settings (https://developer.mozilla.org/en-US/docs/Web/CSS/font-variation-settings) documentation.

0 commit comments

Comments
 (0)