()
| 9 | const items = ['Apple', 'Banana', 'Coconut', 'Lemon', 'Mango', 'Peach']; |
| 10 | |
| 11 | const 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 | |
| 28 | DividerExample.title = 'Divider'; |
| 29 |
nothing calls this directly
no test coverage detected
searching dependent graphs…