MCPcopy Create free account
hub / github.com/callstack/react-native-paper / onNameChange

Function onNameChange

docs/src/components/DynamicColorTheme.tsx:265–268  ·  view source on GitHub ↗
(event: React.ChangeEvent<HTMLInputElement>)

Source from the content-addressed store, hash-verified

263 // const [colorName, setColorName] = useState<string>(name);
264
265 const onNameChange = (event: React.ChangeEvent<HTMLInputElement>) => {
266 event.preventDefault();
267 setCustomName(uniqKey, event.target.value);
268 };
269
270 if (name) {
271 return (

Callers

nothing calls this directly

Calls 1

setCustomNameFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…