MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / Todo

Function Todo

examples/sandbox/src/Todos.tsx:29–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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
48const Todos: s.Component<{title: string}> = (props) => {
49

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…