responsive-button-react
v1.0.3
Published
this is a standard button component library
Downloads
4
Readme
Responsive button react
This is just a simple responsive button for react. It is configurable with className and variant type, the currently supported variants are
- [X] primary
- [X] secondary
- [X] Override primary | secondary with className prop, provide any class name defined in your css or scss file
To get started, simply run
npm i responsive-button-react
In your component.tsx or component.ts
<CustomButton
onClick={() => {}}
title="CustomButton"
variant="primary"
/>