()
| 15 | ); |
| 16 | |
| 17 | const IconExample = () => { |
| 18 | return ( |
| 19 | <ScreenWrapper> |
| 20 | <List.Section title="Default icon (MaterialDesignIcons)"> |
| 21 | <View style={styles.row}> |
| 22 | <Icon source="camera" size={24} /> |
| 23 | </View> |
| 24 | </List.Section> |
| 25 | <List.Section title="Image icon"> |
| 26 | <View style={styles.row}> |
| 27 | <Icon source={{ uri: 'https://picsum.photos/700' }} size={48} /> |
| 28 | </View> |
| 29 | </List.Section> |
| 30 | <List.Section title="Render function icon"> |
| 31 | <View style={styles.row}> |
| 32 | <Icon source={AssetIcon} size={48} /> |
| 33 | </View> |
| 34 | </List.Section> |
| 35 | </ScreenWrapper> |
| 36 | ); |
| 37 | }; |
| 38 | |
| 39 | IconExample.title = 'Icon'; |
| 40 |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…