0.3.1 • Published 2 years ago

@essappstate/canopy-react-bigcheckbox v0.3.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

canopy-react-bigcheckbox

This is a React script for use with AppStateESS/Canopy. It assumes you have Bootstrap 4 and FontAwesome 5 available. A class named "pointer" is used.

.pointer:hover{cursor:pointer}

Example:

import React from 'react'
import BigCheckBox from '@essappstate/canopy-react-bigcheckbox'

class Example extends React.Component {
  constructor(props) {
    super(props)
    this.state = {yesFire: true}
  }

  setValue(val) {
    this.setState(yesFire : val)
  }

  render() {
    return (<BigCheckBox
      label="Fire Wave Motion Gun"
      checked={this.state.yesFire}
      handle={setValue}/>)
  }
}
0.3.1

2 years ago

0.3.0

3 years ago

0.2.7

3 years ago

0.2.6

3 years ago

0.2.5

4 years ago

0.2.4

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

5 years ago

0.2.0

6 years ago