@kano/kbc-button

3.0.48 • Public • Published

kbc-button

An react Button component, for Kano boilerplate apps.

Usage

Default usage

import KbcButton from '@kano/kbc-button';

const Component = (props) => {
    return <KbcButton text="Press me!" />
}

### Available props

Property Options
text string
number
false
type button
reset
submit
color Any color from the allColors tokens
size small
base
large
iconSize small
base
large
weight bold
outline true
false
borderColor Any color from the allColors tokens
onClick function
disabled true
false
loading true
false
shadow true
false
icon One of KbcIcon available icons

Readme

Keywords

none

Package Sidebar

Install

npm i @kano/kbc-button

Weekly Downloads

1

Version

3.0.48

License

ISC

Unpacked Size

9.55 kB

Total Files

7

Last publish

Collaborators

  • thefijimonster
  • dianlin61
  • jacobmorgan99
  • alexnklein
  • ellenw3lsh
  • camuskano
  • alexfiennes
  • kanocomputing
  • jamie_old_plantain