diff --git a/types/rebass/index.d.ts b/types/rebass/index.d.ts index aae5915751..d59fae624f 100644 --- a/types/rebass/index.d.ts +++ b/types/rebass/index.d.ts @@ -91,6 +91,7 @@ interface TextKnownProps extends BoxKnownProps, StyledSystem.FontFamilyProps, StyledSystem.FontWeightProps, + StyledSystem.FontStyleProps, StyledSystem.TextAlignProps, StyledSystem.LineHeightProps, StyledSystem.LetterSpacingProps {} diff --git a/types/rebass/rebass-tests.tsx b/types/rebass/rebass-tests.tsx index 3b4b471c87..1961559b46 100644 --- a/types/rebass/rebass-tests.tsx +++ b/types/rebass/rebass-tests.tsx @@ -35,7 +35,7 @@ export default () => ( Hi, I'm a heading. - + Hi, I'm text.