addon-smart-knobs
addon-smart-knobs copied to clipboard
support for PropTypes.array
It seems that this package does not support PropTypes.array
or PropTypes.arrayOf
.
Is there any future plans for support?
+1
+1
a partial workaround:
addon-smart-knobs does support PropTypes.object
, which provides you with a field where you can insert an array as an object property. Not a full workaround, but does automatically expose a field to change the array.
Would love to support this! Anyone want to open a PR?
https://github.com/storybooks/addon-smart-knobs/pull/45