0.1.2 • Published 4 years ago

create-npm-to-do v0.1.2

Weekly downloads
-
License
-
Repository
github
Last release
4 years ago

A small but functional npm package

Install

Install using npm install create-npm-to-do

Usage

In a React app, use the Button or Badge components:
import { Button } from 'create-npm-to-do'
import { Badge } from 'create-npm-to-do'

Button props

NameDescription
kind'Primary''Outline''Inline''Ghost'' Warning'
data-idstring
type'button''submit''reset'
namestring
valuestring
disabledBoolean
onClickfunction

Badge props

NameDescription
valueinteger