0.1.3 • Published 10 months ago

sarva-first-package v0.1.3

Weekly downloads
-
License
-
Repository
github
Last release
10 months ago

A small but functional npm package

Install

Install using npm i sarva-first-package

Usage

In a React app, use the Button or Badge components:
import { Button } from 'sarva-first-package'
import { Badge } from 'sarva-first-package'

Button props

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

Badge props

NameDescription
valueinteger