Skip to content

Commit

Permalink
Unhide props from panel so that users can see options.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Fitzgerald committed Nov 26, 2024
1 parent c2a4a0f commit 35a5605
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 37 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,6 @@ const meta: Meta = {
onChange: action("onChange"),
},
argTypes: {
// Hide controls that don't make sense to edit, or aren't easily
// editable, in Storybook.
apiOptions: {table: {disable: true}},
backgroundImage: {table: {disable: true}},
correct: {table: {disable: true}},
graph: {table: {disable: true}},
onChange: {table: {disable: true}},
valid: {table: {disable: true}},
// Readonly controls - so we can see what the args are
lockedFigures: {table: {readonly: true}},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ const meta: Meta = {
onChange: action("onChange"),
value: "",
},
argTypes: {
onChange: {table: {disable: true}},
},
};
export default meta;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ const meta: Meta = {
ruleName: "Test rule",
},
argTypes: {
children: {table: {disable: true}},
severity: {
type: "number",
control: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ const meta: Meta = {
analytics: {onAnalyticsEvent: () => Promise.resolve()},
labelText: "Math input",
},
argTypes: {
onChange: {table: {disable: true}},
analytics: {table: {disable: true}},
},
parameters: {
controls: {exclude: ["onChange", "analytics"]},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ const meta: Meta = {
onChange: action("onChange"),
onFormatChange: action("onFormatChange"),
},
argTypes: {
onChange: {table: {disable: true}},
onFormatChange: {table: {disable: true}},
},
};
export default meta;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ const meta: Meta = {
value: [],
onChange: action("onChange"),
},
argTypes: {
onChange: {table: {disable: true}},
},
};
export default meta;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ const meta: Meta = {
value: [],
onChange: action("onChange"),
},
argTypes: {
onChange: {table: {disable: true}},
},
};

export default meta;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ const meta: Meta = {
onBlur: action("onBlur"),
onFocus: action("onFocus"),
},
argTypes: {
onChange: {table: {disable: true}},
onBlur: {table: {disable: true}},
onFocus: {table: {disable: true}},
},
};
export default meta;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ const meta: Meta = {
options: ["Test option 1", "Test option 2", "Test option 3"],
onChange: action("onChange"),
},
argTypes: {
onChange: {table: {disable: true}},
},
decorators: [
(Story) => (
<div className={"framework-perseus orderer"}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ const meta: Meta = {
args: {
computeChildBounds,
},
argTypes: {
children: {table: {disable: true}},
},
parameters: {
chromatic: {
// Disable the snapshot for this story because it's testing
Expand Down

0 comments on commit 35a5605

Please sign in to comment.