Captain Fresh common UI components
npm install cf-ui-componentsIt's a react npm library.
Use the package manager npm to install cf-ui-components.
``bash`
npm i cf-ui-components
`TSX
import { Filter } from "cf-ui-components";
const clickHandler = (e) => {
console.log(e); // Replace with your logic
};
const selectedKeyHandler = (e) => {
console.log(e); // Replace with your logic
};
//using filter
``
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.