1.0.3 • Published 3 months ago

package-poc-shivam v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
3 months ago

Package-POC-Shivam Button Component Library

Welcome to the documentation for the package-poc-shivam button component library! This documentation provides information on how to use and customize the Button component in your React projects.

Installation

To install the package-poc-shivam button component library, use npm or yarn:

npm install package-poc-shivam
//or
yarn add package-poc-shivam

Example to use in code:

import React from 'react';
import { Button } from 'package-poc-shivam';

const MyComponent = () => {
    return (
        <div>
            <Button backgroundColor="#3498db" color="#ffffff">
                Click me
            </Button>
        </div>
    );
};

export default MyComponent;

API

The Button component accepts the following props in addition to the standard HTML button attributes:

  • backgroundColor (optional): Specify the background color of the button.
  • color (optional): Specify the text color of the button.

License

This button component library is open-source and available under the MIT License. You are free to use and modify it according to your needs.

1.0.2

3 months ago

1.0.3

3 months ago

1.0.1

5 months ago

1.0.0

5 months ago