diff --git a/addons/knobs/src/components/PropField.js b/addons/knobs/src/components/PropField.js index 16c04ef35af..a9bf1ac80b6 100644 --- a/addons/knobs/src/components/PropField.js +++ b/addons/knobs/src/components/PropField.js @@ -65,6 +65,6 @@ PropField.propTypes = { knob: PropTypes.shape({ name: PropTypes.string, value: PropTypes.any, - }), + }).isRequired, onChange: PropTypes.func.isRequired, };