1import React from 'react'
12 const isCheckedClassname = state === true ? 'isChecked' : 'isNotChecked'
14 <div className={`checkbox flex ${isCheckedClassname} ${className}`}>
20 className={`rc-checkbox-input`}
22 onChange={onChange} />
24 <svg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'>
25 <path d='M2 3.55661V0H0V5.55661H12.4182V3.55661H2Z' transform='translate(3.84906 11.3371) rotate(-45)' fill='white'/>
30 <p onChange={onChange} checked={state}>{title}</p>
31 { subtitle === '' ? null : <p>{subtitle}</p> }
38export default CheckBox
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list