Skip to content

Commit 3fcdcdf

Browse files
committed
revert BoxProp change
1 parent 7527ebb commit 3fcdcdf

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packages/react/src/Box/Box.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ import type {
1212
TypographyProps,
1313
} from 'styled-system'
1414
import {background, border, color, flexbox, grid, layout, position, shadow, space, typography} from 'styled-system'
15-
import type {SxProp} from '../sx'
15+
import type {BetterSystemStyleObject} from '../sx'
1616
import sx from '../sx'
1717
import type {ComponentProps} from '../utils/types'
1818

19-
type StyledBoxProps = SxProp &
20-
SpaceProps &
19+
type StyledBoxProps = {
20+
sx?: BetterSystemStyleObject
21+
} & SpaceProps &
2122
ColorProps &
2223
TypographyProps &
2324
LayoutProps &

0 commit comments

Comments
 (0)