0.0.6 • Published 4 years ago

@time-with/buttons v0.0.6

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

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

0.0.6

4 years ago

0.0.51

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago