- Clone the repository
- Run
npm install - Run
npm run devto start Storybook
- Create a directory under
src/components/core/orsrc/components/ncids/ - Include the following files:
ComponentName.tsx-- Component implementationComponentName.test.tsx-- Tests using Testing LibraryComponentName.stories.tsx-- Storybook storiesindex.ts-- Barrel exportComponentName.module.scss-- Styles (core components only)
- Export the component from the category's
index.ts - Export the component from
src/index.ts
- All components must be functional components using hooks
- TypeScript strict mode is enforced
- All components must include accessibility testing (jest-axe)
- All components must have Storybook stories
- Test coverage must meet the 80% threshold
- Create a feature branch from
main - Make your changes following the code standards above
- Ensure all checks pass:
npm test,npm run lint,npm run typecheck - Submit a PR using the pull request template
- Request review from code owners