mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
add StyledSystem.Layout props to BoxKnownProps (#38525)
This commit is contained in:
parent
0fdbc12154
commit
e59c2e8cf4
3
types/rebass/index.d.ts
vendored
3
types/rebass/index.d.ts
vendored
@ -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,
|
||||
|
||||
@ -26,7 +26,7 @@ const boxCss = css`
|
||||
const CssBox = () => <Box css={boxCss} />;
|
||||
|
||||
export default () => (
|
||||
<Box width={1} css={{ height: "100vh" }} py={[1, 2, 3]} ml="1em">
|
||||
<Box width={1} css={{ height: "100vh" }} py={[1, 2, 3]} ml="1em" display="block">
|
||||
<Flex width={1} alignItems="center" justifyContent="center">
|
||||
<Heading fontSize={5} fontWeight="bold">
|
||||
Hi, I'm a heading.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user