1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-23 12:04:22 +00:00
bluelib/src/components/layouts/LayoutFill.stories.jsx

28 lines
647 B
JavaScript

import * as React from "react"
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 {
component: LayoutFill,
title: "Layouts/LayoutFill",
decorators: [Decorators.Bluelib, Decorators.Fill],
parameters: {
layout: "fullscreen",
},
}
export const Default = props => (
<LayoutFill {...props}>
<LayoutFill.Single>
<Box>
Single
</Box>
</LayoutFill.Single>
</LayoutFill>
)
Default.args = {}