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

Function renderItem

example/src/ExampleList.tsx:138–152  ·  view source on GitHub ↗
({ item }: { item: Item })

Source from the content-addressed store, hash-verified

136 const safeArea = useSafeAreaInsets();
137
138 const renderItem = ({ item }: { item: Item }) => {
139 const { data, id } = item;
140
141 if (!isV3 && data.title === mainExamples.themingWithReactNavigation.title) {
142 return null;
143 }
144
145 return (
146 <List.Item
147 unstable_pressDelay={65}
148 title={data.title}
149 onPress={() => navigation.navigate(id)}
150 />
151 );
152 };
153
154 return (
155 <FlatList

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…