mathan-button

0.1.2 • Public • Published

A small but functional npm package

Install

Install using npm install mathan-button

Usage

In a React app, use the Button or Badge components:
import { Button } from 'mathan-button'
import { Badge } from 'mathan-button'

Button props

| Name | Description | | -------- | ----------- | --------- | -------- | ------- | ---------- | | kind | 'Primary' | 'Outline' | 'Inline' | 'Ghost' | ' Warning' | | data-id | string | | type | 'button' | 'submit' | 'reset' | | name | string | | value | string | | disabled | Boolean | | onClick | function |

Badge props

Name Description
value integer

/mathan-button/

    Package Sidebar

    Install

    npm i mathan-button

    Weekly Downloads

    0

    Version

    0.1.2

    License

    none

    Unpacked Size

    3.98 kB

    Total Files

    5

    Last publish

    Collaborators

    • mathan77