import React from 'react' import Checkmark from './svg/Checkmark' import { COLORS } from '../lib/constants' class Toggle extends React.PureComponent { static defaultProps = { className: '' } toggle = () => this.props.onChange(!this.props.enabled) render() { return (