Skip to content

LearnAny/react-easy-button

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-easy-button

A simple react button component which can be use to add anywhere in react application without investing on styling.

Installation and usage

To use this module, install it:

npm i @priyanka_pal/react-easybutton

Then use it in your app:

import React from 'react';
import { EasyButton } from "@priyanka_pal/react-easybutton";

export default function App() {

  return (
      <EasyButton>Your button content</EasyButton>
  );
}

Props

Props Description Value Default value Is required
type type of button submit or button submit false
color color of the button primary,secondary,success,warning,danger primary false
outlined make outline button true or false false false
flat add button shadow true or false true false

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published