18 lines
400 B
JavaScript
18 lines
400 B
JavaScript
export const parameters = {
|
|
actions: { argTypesRegex: "^on[A-Z].*" },
|
|
controls: { expanded: true },
|
|
};
|
|
|
|
export const globalTypes = {
|
|
theme: {
|
|
name: "Theme",
|
|
description: "Global theme for components",
|
|
defaultValue: "light",
|
|
toolbar: {
|
|
icon: "circlehollow",
|
|
// array of plain string values or MenuItem shape (see below)
|
|
items: ["light", "dark"],
|
|
},
|
|
},
|
|
};
|