Skip to content

Commit

Permalink
story controls
Browse files Browse the repository at this point in the history
  • Loading branch information
ddecrulle committed Mar 19, 2024
1 parent 644a4a5 commit 732a2f7
Show file tree
Hide file tree
Showing 6 changed files with 90 additions and 504 deletions.
18 changes: 11 additions & 7 deletions .storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,15 @@ const preview = {
docs: {
autodocs: true,
container: DocsContainer,
controls: { exclude: ["darkMode"] },
},
darkMode: {
light: lightTheme,
dark: darkTheme,
},
controls: {
exclude: [
"activeControls",
"initialPage",
"autoSuggesterLoading",
"shortcut",
"filterDescription",
],
exclude: ["activeControls", "shortcut", "filterDescription"],
expanded: true,
},
},
argTypes: {
Expand All @@ -58,6 +54,14 @@ const preview = {
"description":
"Global color scheme enabled, light or dark, it change only the color scheme of the Canvas",
},
initialPage: {
table: { disable: true },
control: { type: "text" },
},
autoSuggesterLoading: {
table: { disable: true },
control: { type: "boolean" },
},
},
decorators: [
(Story, context) => {
Expand Down
Loading

0 comments on commit 732a2f7

Please sign in to comment.