How can I disable a control for the table but not for the docs? #29056
Answered
by
Marklb
StephenSHorton
asked this question in
Help
-
SummaryI have been made aware that I can use table: {
disable: true,
}, To disable a control from the storybook. But this also disables it from the docs page using the tag Additional informationNo response Create a reproductionNo response |
Beta Was this translation helpful? Give feedback.
Answered by
Marklb
Sep 9, 2024
Replies: 1 comment
-
I think those tables are the same component and don't have much configuration based on where used. If you are just wanting to disable the control, use https://storybook.js.org/docs/essentials/controls#disable-controls-for-specific-properties {
...,
argTypes: {
myArg: {
control: false,
},
},
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
StephenSHorton
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think those tables are the same component and don't have much configuration based on where used. If you are just wanting to disable the control, use
control: false
.https://storybook.js.org/docs/essentials/controls#disable-controls-for-specific-properties