1.0.10 • Published 3 years ago

@reaxio/button v1.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Button Reaxio

An Introduction

React component, easy, simple, small and improved

Why Should You Use This?

Many of the components for Reactjs are in a single installation, not only the component you need and in many cases very heavy, but this is ideal for:

  1. Quick and easy loading
  2. They don't inject extra javascript and DOM elements into your page, making it slower.
  3. Easy to customize enough to adapt to the design of your site.
  4. Reaxion Button, takes up very little space, specific and simple for your project.
  5. It does not load any iframes or additional javascript.
  6. It can be customized in any way.

📦 Install

npm i @reaxio/button

🔨 Usage

import Button from "@reaxio/button";

const onClickActiveFrom = () => {
	setregisterFind(null);
	setstateActiveFrom(!stateActiveForm);
};

const App = () => (
	<Button typeButton="primary" onClick={onClickActiveFrom}>
		Press here
	</Button>
);

✨ API

PropertyDescriptionTypeDefault
refRedirect url of link buttonstring
classNameLike the target attribute of the class, it works when the css, width, height,size ... properties are specified.string
disabledDisabled state of buttonbooleanfalse
typeButtonCan be set to primary , second or alertstringprimary
onClickSet the handler to handle click eventjsx()=>{}

🔺Examples

Look at our Button example in CodeSandox, easy, simple and fast !!!

Thanks for using it. 😃 👊🏼

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago