Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/prasanaworld/react-compound-component

cs assessment
https://github.com/prasanaworld/react-compound-component

Last synced: about 1 month ago
JSON representation

cs assessment

Awesome Lists containing this project

README

        

# React Compound component design pattern example
This repo contain basic example of reusable components adhering to the [compound component design pattern](https://www.smashingmagazine.com/2021/08/compound-components-react/).

1. Integration of unit tests for comprehensive code coverage.
2. Incorporation of TypeScript for enhanced type safety.
3. Ensuring accessibility of components and the user interface, with support for both keyboard navigation and screen reader functionality.

## How to run the

1. Install node version (Tested using node v20.7.0)
`nvm install v20.7.0`

2. install node_module
`npm install`

3. Run the dev
`npm run dev`

4. Run the test
`npm run test`

## Screenshot

### Requirement Screenshot

requirement screenshot

### Completed Screenshot

completed screenshot