BtnSwitch.jsx 487B

123456789101112131415161718192021
  1. import React, { Component } from 'react'
  2. // Côme - 2018/03/01 - DEPRECATED - this component has been added to tracim_lib
  3. class BtnSwitch extends Component {
  4. render () {
  5. return (
  6. <div className='btnswitch'>
  7. <label className='switch nomarginlabel'>
  8. <input type='checkbox' />
  9. <span className='slider round' />
  10. </label>
  11. <div className='btnswitch__text'>
  12. On
  13. </div>
  14. </div>
  15. )
  16. }
  17. }
  18. export default BtnSwitch