1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-23 03:54:21 +00:00
bluelib/.storybook/preview.js

44 lines
1.2 KiB
JavaScript
Raw Normal View History

2021-08-17 15:45:29 +00:00
import { Bluelib } from "../src/components/Bluelib"
2021-08-14 15:02:47 +00:00
export const parameters = {
argTypes: {
bluelibClassNames: {
control: {type: "string"},
description: "Additional Bluelib classNames to be appended to the element's classNames",
table: {category: "Global props"}
},
customColor: {
control: {type: "color"},
description: "Apply a Bluelib custom color to the element",
table: {category: "Global props"}
},
disabled: {
control: {type: "boolean"},
description: "Apply the disabled status to an element",
table: {category: "Global props"}
}
},
options: {
storySort: {
order: [
"Core",
"Layouts",
"Panels",
"Chapters",
"Separators",
"Images",
"Tables",
"Lists",
"Status",
"Inputs",
"Forms",
"Common",
"Annotations",
"Semantics",
"Colors",
"Internals",
]
}
2021-08-14 15:02:47 +00:00
},
}