How can I conditionally disable a control in Storybook based on the value of another argument?

前端 未结 0 1252
被撕碎了的回忆
被撕碎了的回忆 2020-11-29 03:06

I am trying to conditionally disable a Storybook.js control based on the value of another argument. For example, I have a modal component that can be of type \'alert\', \'c

相关标签:
回答
  • 消灭零回复
提交回复
热议问题