@time-with/buttons

0.0.6 • Public • Published

Timewith Buttons library

Types:

  • ButtonGreen
  • ButtonBlue
  • ButtonOrange
  • ButtonRed

Utility:

  • ButtonsRow

Install

$ npm install @time-with/buttons
or
$ yarn add @time-with/buttons

Usage

import { 
  ButtonsRow, 
  ButtonBlue, 
  ButtonGreen, 
} from './shared/buttons'

<ButtonsRow>
  <ButtonBlue onClick={this.handleSeeExampleProfile}>
    <p>See an example profile</p>
    <FontAwesome icon='eye' />
  </ButtonBlue>
  <ButtonGreen onClick={this.handleSubmit}>
    <p>Next</p>
    <FontAwesome icon='arrow-right' />
  </ButtonGreen>
</ButtonsRow>

Options (Buttons)

disabled

Type: Boolean Default: false

Options (ButtonsRow)

align (single option: 'right')

Type: String Default: left

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @time-with/buttons

Weekly Downloads

1

Version

0.0.6

License

MIT

Unpacked Size

87 kB

Total Files

7

Last publish

Collaborators

  • agouil
  • antoniobrandao