mtvk-button
v1.0.1
Published
Easy to use versatile buttons in Reactjs!
Downloads
1
Maintainers
Readme
Button Component Package For React
[![NPM version][npm-version-image]][npm-url] [![NPM downloads][npm-downloads-size-image]][npm-url] [![NPM downloads][npm-downloads-image]][downloads-url] [![MIT License][license-image]][license-url]
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