2.1.95 • Published 2 years ago

rashy-library v2.1.95

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

What is This?

A React Button Components

Installation

npm i rashy-library

How to Use

import { Button } from 'rashy-library';


function App(){
    return (
        //secondary with black bg
        //you can pass the onClick also if you want to use one
        <Button label='Submit' secondary animate />
    )
}

Function & Props

secondary => black contained background no border within the button

outlined => black border within the button no background

primary => sky blue background with no border within

animate => animate props is a custom transition animation when the button is hoverd on

fit => makes the button to fit in the containers width, if the components container is 400px the button will take 90% of the width

fullWidth => takes 100% width of the components container

disabled => disable the button during form submission,loading state this makes the button unclickable

2.1.95

2 years ago

2.1.94

2 years ago

2.1.93

2 years ago

2.1.92

2 years ago

2.1.91

2 years ago

2.1.90

2 years ago

2.1.9

2 years ago

2.1.8

2 years ago

2.1.7

2 years ago

2.1.6

2 years ago

2.1.5

2 years ago

2.1.4

2 years ago

2.1.3

2 years ago

2.1.2

2 years ago

2.1.1

2 years ago

2.1.0

2 years ago

2.0.9

2 years ago

2.0.8

2 years ago

2.0.7

2 years ago

2.0.6

2 years ago

2.0.5

2 years ago

2.0.4

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.0

2 years ago