Skip to content

Commit 983b97b

Browse files
committed
🔥 Remove Layout.Item, Use Box instead
1 parent 0b00b94 commit 983b97b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎test/index.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@ test('FlexBox', () => {
4747
test('Layout', () => {
4848
const result = renderJSON(
4949
<Layout>
50-
<Layout.Item as='header'>
50+
<Box as='header'>
5151
Header
52-
</Layout.Item>
52+
</Box>
5353
<Layout.Content as='main'>
5454
Main
5555
</Layout.Content>
56-
<Layout.Item as='footer'>
56+
<Box as='footer'>
5757
Footer
58-
</Layout.Item>
58+
</Box>
5959
</Layout>
6060
)
6161

0 commit comments

Comments
 (0)