Skip to content

React component, easy, simple, small and improved

Notifications You must be signed in to change notification settings

granaber/button

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Property Description Type Default
ref Redirect url of link button string
className Like the target attribute of the class, it works when the css, width, height,size ... properties are specified. string
disabled Disabled state of button boolean false
typeButton Can be set to primary , second or alert string primary
onClick Set the handler to handle click event jsx()=>{}

🔺Examples

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

Thanks for using it. 😃 👊🏼

About

React component, easy, simple, small and improved

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published