CustomBtn
is a customizable button component built in React. It allows you to change the button's label, trigger an action on click, and set a custom color.
- Customizable button label.
- Customizable button color with a default color (
#39FF14
). - Simple API with
label
,onClick
, andcolor
props. - Easily integrates into any React project.
To use the CustomBtn
component in your React project, follow these steps:
-
Install the component via npm or yarn:
npm install suthu-btn-2024 # or yarn add suthu-btn-2024