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

Function DividerExample

example/src/Examples/DividerExample.tsx:11–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9const items = ['Apple', 'Banana', 'Coconut', 'Lemon', 'Mango', 'Peach'];
10
11const DividerExample = () => {
12 const { colors } = useExampleTheme();
13
14 return (
15 <ScreenWrapper withScrollView={false}>
16 <FlatList
17 style={{ backgroundColor: colors?.background }}
18 renderItem={({ item }) => <List.Item title={item} />}
19 keyExtractor={(item) => item}
20 ItemSeparatorComponent={Divider}
21 data={items}
22 alwaysBounceVertical={false}
23 />
24 </ScreenWrapper>
25 );
26};
27
28DividerExample.title = 'Divider';
29

Callers

nothing calls this directly

Calls 1

useExampleThemeFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…