0.1.9 • Published 2 years ago

buttons-component v0.1.9

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Buttons Component

This is a reusable buttons component for React that supports different types of buttons. You can easily switch between button types by changing the classname.

Installation

You can install this package using npm:

npm install buttons-component

Usage

To use this component in your React app, simply import it and render it:

import React from 'react';
import { Button } from 'buttons-component';

function App() {
  return (
    <div>
      <Button/>
    </div>
  );
}

Available Props

<Button
className={}
style={}
type={}
value={}
isDisabled={}
/>
PropsDatatyperequired*Default Value
classNameStringNo"default-btn"
stylestringNonone
typestringNo"submit"
valuestringyesnone
isDisabledbooleanNoyes

Contributing

Contributions are always welcome! If you have an idea for a new feature or find a bug, please open an issue or submit a pull request.

License

This package is licensed under the MIT License.

Credits

This package was inspired by many other open source React components. Thank you to all the developers who have contributed to the React community!

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago