addon-smart-knobs
addon-smart-knobs copied to clipboard
🧠 This Storybook plugin uses @storybook/addon-knobs but creates the knobs automatically based on PropTypes.
This would be super useful for Angular projects!
Heya, I'm trying to get to the bottom of why I can't get smart knobs to display, and I think it might have to do with the alpha version of...
It seems that this package does not support `PropTypes.array` or `PropTypes.arrayOf`. Is there any future plans for support?
I cannot understand if this issue : https://github.com/storybooks/storybook/issues/5847 Might be related to smartKnobs
Given the following `````` The styles being applied are not applied Upon investigating...I was able the following is being applied: ``` grid-template-areas: " B B": ; ": ; A C":...
Let's say I have an Input component with these prop types: ``` Input.propTypes = { value: PropTypes.string, error: PropTypes.bool, valid: PropTypes.bool, onChange: PropTypes.func, multiline: PropTypes.bool } ``` Then I have...
Would be nice to have an option to either ignore components or props (perhaps respecting the `null` value). We are having a problem when using this plugin since one of...
Hi, I'm having some issue with this add-on. Here's an example component : ```js import React from "react" import propTypes from "prop-types" import CSSModules from "react-css-modules" import styles from "./styles.css"...
When creating a knob for oneOf propTypes, smartKnobs adds an empty option. That's usually good, but not in the following cases: - The prop is required - The prop has...