@d4sd/components

D4SD Component Library, extended from Ant-Design


License
MIT
Install
npm install @d4sd/components@3.1.3

Documentation

d4sd-components

STEPS TO PUBLISH COMPONENTS

First, make your components in the components folder, follow previous designs

Then, in index.tsx in the root folder, add a

export { YourComponent } from "./components/YourComponent";

before the export * from "antd"

Then, running

npm run storybook

Will load the current library and show your components in "stories" on a locally hosted website that will eventually automatically open.

Then run the following to prepare the component library for publishing

npm run build

AFTER committing a change and running the build, do the following

npm version patch

This will update the package version so it is ready to publish. Then publish with

npm publish

Once published, make sure to run

npm install @d4sd/components

in whichever repository is using our components to update it.