mirror of
https://github.com/Steffo99/bluelib.git
synced 2024-12-22 11:34:21 +00:00
📔 Use panels in layout stories
This commit is contained in:
parent
95632aacaa
commit
bd9494ecf4
2 changed files with 14 additions and 4 deletions
|
@ -3,6 +3,7 @@ import * as ReactDOM from "react-dom"
|
|||
import * as Decorators from "../../utils/Decorators"
|
||||
import { LayoutFill } from "./LayoutFill"
|
||||
import { Bluelib } from "../Bluelib"
|
||||
import { Box } from "../panels/Box"
|
||||
|
||||
|
||||
export default {
|
||||
|
@ -18,7 +19,9 @@ export default {
|
|||
export const Default = props => (
|
||||
<LayoutFill {...props}>
|
||||
<LayoutFill.Single>
|
||||
Single
|
||||
<Box>
|
||||
Single
|
||||
</Box>
|
||||
</LayoutFill.Single>
|
||||
</LayoutFill>
|
||||
)
|
||||
|
|
|
@ -2,6 +2,7 @@ import * as React from "react"
|
|||
import * as ReactDOM from "react-dom"
|
||||
import * as Decorators from "../../utils/Decorators"
|
||||
import { LayoutThreeCol } from "./LayoutThreeCol"
|
||||
import { Box } from "../panels/Box"
|
||||
|
||||
|
||||
export default {
|
||||
|
@ -17,13 +18,19 @@ export default {
|
|||
export const Default = props => (
|
||||
<LayoutThreeCol {...props}>
|
||||
<LayoutThreeCol.Left>
|
||||
Left
|
||||
<Box>
|
||||
Left
|
||||
</Box>
|
||||
</LayoutThreeCol.Left>
|
||||
<LayoutThreeCol.Center>
|
||||
Center
|
||||
<Box>
|
||||
Center
|
||||
</Box>
|
||||
</LayoutThreeCol.Center>
|
||||
<LayoutThreeCol.Right>
|
||||
Right
|
||||
<Box>
|
||||
Right
|
||||
</Box>
|
||||
</LayoutThreeCol.Right>
|
||||
</LayoutThreeCol>
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue