1.0.1 • Published 4 years ago
mtvk-button v1.0.1
Button Component Package For React

Easy to use versatile buttons!
Easy to use versatile buttons in Reactjs...
Installation
npm i mtvk-buttonUSE Button Package
import React from "react";
import Button from 'mtvk-button'
function App() {
return (
<div>
<h1>This is a test</h1>
<Button variant="secondary" size="lg" label="ثبت نام" />
</div>
);
}Props
| props | defaultValue | description |
|---|---|---|
| variant | null | select (primary or secondary or deactivate or null) |
| size | null | select (lg or md or sm or null) |
| label | null | select (optional string) |
License
MIT
Author
Mina Tavakoli
1.0.1
4 years ago