MCPcopy Create free account
hub / github.com/cosdensolutions/code / Search

Function Search

videos/long/learn-react-hooks-useCallback/Search.tsx:7–17  ·  view source on GitHub ↗
({ onChange }: SearchProps)

Source from the content-addressed store, hash-verified

5}
6
7function Search({ onChange }: SearchProps) {
8 console.log('Search rendered!');
9
10 return (
11 <input
12 type='text'
13 placeholder='Search users...'
14 onChange={(e) => onChange(e.target.value)}
15 />
16 );
17}
18
19export default memo(Search);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected