2.1.95 • Published 1 year ago

rashy-library v2.1.95

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year 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

1 year ago

2.1.94

1 year ago

2.1.93

1 year ago

2.1.92

1 year ago

2.1.91

1 year ago

2.1.90

1 year ago

2.1.9

1 year ago

2.1.8

1 year ago

2.1.7

1 year ago

2.1.6

1 year ago

2.1.5

1 year ago

2.1.4

1 year ago

2.1.3

1 year ago

2.1.2

1 year ago

2.1.1

1 year ago

2.1.0

1 year ago

2.0.9

1 year ago

2.0.8

1 year ago

2.0.7

1 year ago

2.0.6

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.0.0

1 year ago