This library contains common react components shared by the SSO CSS app and realm registry. See the github pages link for a storybook instance of components.
Storybook: This repository has branched-based deployments for the storybook instance. To update
storybook, merge in a feature branch to the main
branch.
NPM: Components will be published to NPM when creating a new release. To release the components:
main
. This will automatically bump the package version based on the commits and generate a tag for the release.To add a component:
src/components
<componentName>.tsx
file and index.ts
file to the folder.index.ts
, e.g:
export { default } from './NumberedContents';
src/components/index.ts
, e.g:export { default as Accordion } from './Accordion';
export { default as NumberedContents } from './NumberedContents';
Add a <Component>.stories.jsx
file to the stories
folder