1.0.3 • Published 8 years ago

@hnordt/reax-button v1.0.3

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

Reax Button

Bootstrap Button component for React

npm version

PropTypes

{
  type: PropTypes.oneOf([
    'default',
    'primary',
    'success',
    'info',
    'warning',
    'danger'
  ]),
  submit: PropTypes.bool,
  block: PropTypes.bool,
  disabled: PropTypes.bool,
  onClick: PropTypes.func,
  children: PropTypes.node.isRequired
}

Usage

npm install --save @hnordt/reax-button
import React from 'react';
import Button from '@hnordt/reax-button';

const Foo = () => (
  <Button type="primary" onClick={() => console.log('foo bar')}>Foo Bar</Button>
);

export default Foo;
1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago