| 27 | onUpdate: (value: string) => void |
| 28 | onRemove: VoidFunction |
| 29 | }> = props => { |
| 30 | return ( |
| 31 | <div> |
| 32 | <input |
| 33 | type="checkbox" |
| 34 | checked={props.done} |
| 35 | onChange={e => props.onCheck(e.currentTarget.checked)} |
| 36 | aria-label={props.title} |
| 37 | /> |
| 38 | <input |
| 39 | type="text" |
| 40 | value={props.title} |
| 41 | onChange={e => props.onUpdate(e.currentTarget.value)} |
| 42 | /> |
| 43 | <button onClick={props.onRemove}>x</button> |
| 44 | </div> |
| 45 | ) |
| 46 | } |
| 47 | |
| 48 | const Todos: s.Component<{title: string}> = (props) => { |
| 49 |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…