1.1.0 • Published 8 years ago

clef-button-component v1.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

clef-button-component

Build Status Downloads Downloads npm version dependencies dev dependencies License

A React components to use the Clef button

Installation

Install it via npm:

npm install clef-button-component

Usage

import ClefButton from 'clef-button-component';

<ClefButton
  appID={React.PropTypes.string.isRequired}
  redirectURL={React.PropTypes.string.isRequired}
  state={React.PropTypes.string.isRequired}
  color={React.PropTypes.string}
  type={React.PropTypes.string}
  custom={React.PropTypes.bool}
  embed={React.PropTypes.bool}
  onError={React.PropTypes.func.isRequired}
  onSuccess={React.PropTypes.func}
/>

For more information on the different properties, check out the documentation.

Development

To start development, run:

git clone git@github.com:clef/clef-button-component.git clef-button-component
cd clef-button-component
npm install
npm run test

License

MIT

1.1.0

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago