From e59c2e8cf4ebf2019aba7230e1555988b8cc83db Mon Sep 17 00:00:00 2001 From: Damnjan Lukovic Date: Tue, 24 Sep 2019 18:52:41 +0200 Subject: [PATCH] add StyledSystem.Layout props to BoxKnownProps (#38525) --- types/rebass/index.d.ts | 3 +-- types/rebass/rebass-tests.tsx | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/types/rebass/index.d.ts b/types/rebass/index.d.ts index 899fcdebec..a80ae35fcc 100644 --- a/types/rebass/index.d.ts +++ b/types/rebass/index.d.ts @@ -49,8 +49,7 @@ export interface SxProps { interface BoxKnownProps extends BaseProps, StyledSystem.SpaceProps, - StyledSystem.WidthProps, - StyledSystem.HeightProps, + StyledSystem.LayoutProps, StyledSystem.FontSizeProps, StyledSystem.ColorProps, StyledSystem.FlexProps, diff --git a/types/rebass/rebass-tests.tsx b/types/rebass/rebass-tests.tsx index f55055dea6..6287885ca7 100644 --- a/types/rebass/rebass-tests.tsx +++ b/types/rebass/rebass-tests.tsx @@ -26,7 +26,7 @@ const boxCss = css` const CssBox = () => ; export default () => ( - + Hi, I'm a heading.