Skip to content

Commit ec371b6

Browse files
committed
✨ Add Layout.Main component
1 parent 93decd8 commit ec371b6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/layout/index.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@ const Layout = (props) => (
2020
)
2121

2222
Object.assign(Layout, {
23+
Content: LayoutContent,
24+
Item: FlexBoxItem,
25+
Body: LayoutBody,
2326
Header: FlexBoxItem.withComponent('header'),
24-
Content: LayoutContent.withComponent('main'),
2527
Footer: FlexBoxItem.withComponent('footer'),
26-
Item: FlexBoxItem,
27-
Body: LayoutBody
28+
Main: LayoutContent.withComponent('main')
2829
})
2930

3031
export {

0 commit comments

Comments
 (0)