List.Icon
A component to show an icon in a list item.
Usage
import * as React from 'react';
import { List, Colors } from 'react-native-paper';
const MyComponent = () => (
<>
<List.Icon color={Colors.blue500} icon="folder" />
<List.Icon color={Colors.blue500} icon="equal" />
<List.Icon color={Colors.blue500} icon="calendar" />
</>
);
export default MyComponent;
Props
style
Type:
StyleProp<ViewStyle>