import { ViewStyle, StyleProp } from 'react-native'; import { IconSource } from '../Icon'; declare type Props = { /** * Icon to show. */ icon: IconSource; /** * Color for the icon. */ color?: string; style?: StyleProp; }; /** * A component to show an icon in a list item. * *
*
* *
*
* * ## Usage * ```js * import * as React from 'react'; * import { List, Colors } from 'react-native-paper'; * * const MyComponent = () => ( * <> * * * * * ); * * export default MyComponent; * ``` */ declare const ListIcon: { ({ icon, color: iconColor, style }: Props): JSX.Element; displayName: string; }; export default ListIcon;