We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ba49373 + d980b49 commit 6077910Copy full SHA for 6077910
packages/component-library/.storybook/preview.tsx
@@ -15,15 +15,15 @@ const preview = {
15
cellSize: 4,
16
cellAmount: 4,
17
},
18
- options: [
19
- { name: "Primary", value: "var(--primary-background)" },
20
- { name: "Secondary", value: "var(--secondary-background)" },
21
- ],
+ options: {
+ primary: { name: "Primary", value: "var(--primary-background)" },
+ secondary: { name: "Secondary", value: "var(--secondary-background)" },
+ },
22
23
actions: { argTypesRegex: "^on[A-Z].*" },
24
25
initialGlobals: {
26
- backgrounds: { value: "Primary" },
+ backgrounds: { value: "primary" },
27
28
} satisfies Preview;
29
0 commit comments