mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
add font style props to text and heading (#43524)
This commit is contained in:
Vendored
+1
@@ -91,6 +91,7 @@ interface TextKnownProps
|
||||
extends BoxKnownProps,
|
||||
StyledSystem.FontFamilyProps,
|
||||
StyledSystem.FontWeightProps,
|
||||
StyledSystem.FontStyleProps,
|
||||
StyledSystem.TextAlignProps,
|
||||
StyledSystem.LineHeightProps,
|
||||
StyledSystem.LetterSpacingProps {}
|
||||
|
||||
@@ -35,7 +35,7 @@ export default () => (
|
||||
<Heading fontSize={5} fontWeight="bold">
|
||||
Hi, I'm a heading.
|
||||
</Heading>
|
||||
<Text as="p" fontSize={3} lineHeight="1em" letterSpacing="1rem">
|
||||
<Text as="p" fontSize={3} lineHeight="1em" letterSpacing="1rem" fontStyle="italic">
|
||||
Hi, I'm text.
|
||||
</Text>
|
||||
<Card
|
||||
|
||||
Reference in New Issue
Block a user