mirror of
https://github.com/Steffo99/bluelib.git
synced 2024-12-22 19:44:21 +00:00
📔 Add nested panel stories
This commit is contained in:
parent
c28c4bf77a
commit
a16a2b9b2e
4 changed files with 49 additions and 0 deletions
|
@ -22,3 +22,15 @@ export const Default = props => (
|
|||
</Box>
|
||||
)
|
||||
Default.args = {}
|
||||
|
||||
|
||||
export const Nested = props => (
|
||||
<Box {...props}>
|
||||
<Box>
|
||||
<Box>
|
||||
These are three nested Boxes.
|
||||
</Box>
|
||||
</Box>
|
||||
</Box>
|
||||
)
|
||||
Nested.args = {}
|
||||
|
|
|
@ -22,3 +22,15 @@ export const Default = props => (
|
|||
</Dialog>
|
||||
)
|
||||
Default.args = {}
|
||||
|
||||
|
||||
export const Nested = props => (
|
||||
<Dialog {...props}>
|
||||
<Dialog>
|
||||
<Dialog>
|
||||
These are three nested Dialogs.
|
||||
</Dialog>
|
||||
</Dialog>
|
||||
</Dialog>
|
||||
)
|
||||
Nested.args = {}
|
||||
|
|
|
@ -22,3 +22,15 @@ export const Default = props => (
|
|||
</Panel>
|
||||
)
|
||||
Default.args = {}
|
||||
|
||||
|
||||
export const Nested = props => (
|
||||
<Panel {...props}>
|
||||
<Panel>
|
||||
<Panel>
|
||||
These are three nested Panels.
|
||||
</Panel>
|
||||
</Panel>
|
||||
</Panel>
|
||||
)
|
||||
Nested.args = {}
|
||||
|
|
|
@ -22,3 +22,16 @@ export const Default = props => (
|
|||
</Parenthesis>
|
||||
)
|
||||
Default.args = {}
|
||||
|
||||
|
||||
export const Nested = props => (
|
||||
<Parenthesis {...props}>
|
||||
<Parenthesis>
|
||||
<Parenthesis>
|
||||
These are three nested Parentheses.
|
||||
</Parenthesis>
|
||||
</Parenthesis>
|
||||
</Parenthesis>
|
||||
)
|
||||
Nested.args = {}
|
||||
|
||||
|
|
Loading…
Reference in a new issue