MCPcopy Create free account
hub / github.com/react-native-segmented-control/segmented-control / _onChange

Function _onChange

example/App.js:22–24  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

20 }, [colorScheme]);
21
22 const _onChange = (event) => {
23 setSelectedIndex(event.nativeEvent.selectedSegmentIndex);
24 };
25
26 const _onValueChange = (val) => {
27 setValue(val);

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…