1.0.1 • Published 3 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-button
USE 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
3 years ago