1.0.1 • Published 3 years ago

mtvk-button v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Button Component Package For React

button

NPM version NPM downloads NPM downloads MIT License

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

propsdefaultValuedescription
variantnullselect (primary or secondary or deactivate or null)
sizenullselect (lg or md or sm or null)
labelnullselect (optional string)

License

MIT

Author

Mina Tavakoli