1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-22 11:34:21 +00:00

🐛 Properly display examples (fix #8)

See storybookjs/storybook#12596
This commit is contained in:
Steffo 2021-12-03 17:31:06 +01:00
parent 1e7d5d1709
commit 5d96baccc6
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -4,12 +4,12 @@ import { Form as FormComponent } from "../components/forms/Form"
import { Ruby as RubyComponent } from "../components/annotations/Ruby"
export const Bluelib = Story => <BluelibComponent theme={"paper"} style={{backgroundColor: "transparent"}}><Story/></BluelibComponent>
export const Bluelib = Story => <BluelibComponent theme={"paper"} style={{backgroundColor: "transparent"}}>{Story()}</BluelibComponent>
export const Fill = Story => <div style={{height: "100vh"}}><Story/></div>
export const Fill = Story => <div style={{height: "100vh"}}>{Story()}</div>
export const Box = Story => <BoxComponent><Story/></BoxComponent>
export const Box = Story => <BoxComponent>{Story()}</BoxComponent>
export const Form = Story => <FormComponent><Story/></FormComponent>
export const Form = Story => <FormComponent>{Story()}</FormComponent>
export const Ruby = Story => <RubyComponent><Story/></RubyComponent>
export const Ruby = Story => <RubyComponent>{Story()}</RubyComponent>