Simple menu with items and status of the selected item
Visit https://codesandbox.io/s/github/giodelabarrera/test-react-compound-component for view the raw code and demo.
- https://kentcdodds.com/blog/advanced-react-component-patterns
- https://kentcdodds.com/blog/compound-components-with-react-hooks
Created with CodeSandbox