ureact-button

1.0.1 • Public • Published

ureact-button

Ureact button component

Usage

<UreactButton
  type={'default'|'primary'}
  onClick={
    /* Triggered when clicked. If this returns a promise, will
       automatically show busy cursor until Promise finishes */
  }
  label={'name of button' /* can also pass in as child */}
  disabled={true|false}
  isBusy={true|false /* to programatically show busy cursor */}>

  Label can be specified here instead

</UreactButton>

Readme

Keywords

none

Package Sidebar

Install

npm i ureact-button

Weekly Downloads

1

Version

1.0.1

License

ISC

Last publish

Collaborators

  • uwarren