MCPcopy Create free account
hub / github.com/fontsource/fontsource / onChange

Function onChange

website/app/components/search/SearchTextInput.tsx:19–22  ·  view source on GitHub ↗
(event: React.ChangeEvent<HTMLInputElement>)

Source from the content-addressed store, hash-verified

17 }, 300);
18
19 const onChange = (event: React.ChangeEvent<HTMLInputElement>) => {
20 setInputValue(event.currentTarget.value);
21 handleSearch(event.currentTarget.value);
22 };
23
24 // Track when the InstantSearch query changes to synchronize it with
25 // the React state.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected