@dheerajanand/components
v0.1.74
Published
Reusable Components
Downloads
4
Readme
yarn storybook
Note: this is a one-way operation. Once you eject
, you can’t go back!
yarn storybook
Create private npm package
https://storybook.js.org/tutorials/design-systems-for-developers/react/en/distribute/
Deployed the Storybook to Netlify
https://storybookcomp.netlify.app/
npm adduser
Add credentials to publish the build
To use package
https://stackoverflow.com/questions/56688893/how-to-use-a-module-when-it-could-not-find-a-declaration-file
Create file src/@types/dheeraj_anand_components/index.d.ts
Provide declaration declare module "@dheerajanand/components";
Config using Rollup Option: https://prateeksurana.me/blog/react-component-library-using-storybook-6/