suthu-btn-2024

0.1.3 • Public • Published

CustomBtn React Component

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.

Features

  • Customizable button label.
  • Customizable button color with a default color (#39FF14).
  • Simple API with label, onClick, and color props.
  • Easily integrates into any React project.

Installation

To use the CustomBtn component in your React project, follow these steps:

  1. Install the component via npm or yarn:

    npm install suthu-btn-2024
    # or
    yarn add suthu-btn-2024

Readme

Keywords

Package Sidebar

Install

npm i suthu-btn-2024

Weekly Downloads

35

Version

0.1.3

License

none

Unpacked Size

7.78 kB

Total Files

14

Last publish

Collaborators

  • suthu2024