in ./node_modules/@axetroy/react-download/lib/react-download.js
Module not found: Error: Can't resolve 'proptypes' in '/Users/Projects/storybook/node_modules/@axetroy/react-download/lib'
but if I change
require("proptypes")) to require("prop-types"));
in /lib/reactDownload it works
I think it's more common to use "prop-types" lib then "proptypes"
Hey :) there is a problem with proptypes
but if I change
require("proptypes"))
torequire("prop-types"));
in /lib/reactDownload it worksI think it's more common to use "prop-types" lib then "proptypes"
btw, useful component!