MCPcopy Index your code
hub / github.com/callstack/react-native-paper / _setDrawerItem

Function _setDrawerItem

example/src/DrawerItems.tsx:97–97  ·  view source on GitHub ↗
(index: number)

Source from the content-addressed store, hash-verified

95 const preferences = React.useContext(PreferencesContext);
96
97 const _setDrawerItem = (index: number) => setDrawerItemIndex(index);
98
99 const { isV3, colors } = useExampleTheme();
100 const isIOS = Platform.OS === 'ios';

Callers 1

DrawerItemsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…