npm.io
0.2.0 • Published 4 years ago

gs-component

Licence
—
Version
0.2.0
Deps
6
Size
7 kB
Vulns
1
Weekly
0

A small but functional npm package

Install

Install using npm install gs-module

Usage

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

Button props
Name Description

| label | string
| 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

Keywords