button-tese-lib2

1.0.0 • Public • Published

Button Component

The Button component is a customizable React button component that allows you to create buttons with different styles, types, and sizes in your React applications.

Table of Contents

Installation

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

  1. Install the component package via npm or yarn:

    npm install button-teseract-lib
    # or
    yarn add button-teseract-lib

2.Import the Button component in your React application: import Button from 'your-button-component-package';

Usage

`import { Button } from "button-new-libtess2"; function App() {

return (

    <div>
		<h4>Buttons</h4>
		<Button type="primary" size="medium" action="some-action">
			Primary Button
		</Button>

		<Button type="secondary" size="small" action="another-action">
			Secondary Button
		</Button>

		<Button type="warning" size="small" action="another-action">
			Warning Button
		</Button>
		<Button type="ErrorButton" size="small" action="another-action">
			Error Button
		</Button>
		<Button type="SuccessButton" size="small" action="another-action">
			Success Button
		</Button>
		<Button type="LinkButton" size="medium" action="another-action">
			Link Button
		</Button>
		<Button type="disabled" size="small" action="another-action">
			Disabled Button
		</Button>
	</div>

) };

export default App;`

Readme

Keywords

none

Package Sidebar

Install

npm i button-tese-lib2

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

11.1 kB

Total Files

6

Last publish

Collaborators

  • surbhi605