chase-button
v1.0.10
Published
This is still on development mode.
Downloads
14
Readme
In Development
This is still on development mode.
Introduction
AppButton is a highly customizable button component. It has a default button style because you have a freedom to style it on your own project.
Installation
You can use npm to install this on your project
npm i chase-button
Usage
You can import it by using this code.
import AppButton from "chase-button";
And you can use it like this
<AppButton
buttonKind="button"
buttonType="submit"
buttonClass="button-style"
buttonText="Click Me"
/>
Props
AppButton has 5 props that you can use
- buttonText - the text that you want for your button
- buttonClass - where you add the class styles (CSS) on your button
- buttonType - has 3 button types which are 'button', 'submit' 'reset'. Default: button.
- buttonKind - has 2 kinds which are 'button' and 'link'. Yes, a link. It can act as a link too wherein you can specify your routes or page redirection.
- buttonLink - If your 'buttonKind' is set to link, you can specify here the link, route or your page redirection.
Too easy, right? Now, let's build a project!
License: MIT