import * as React from 'react'; import { StyleProp, View, ViewStyle } from 'react-native'; import type { ThemeProp } from '../../types'; import { IconSource } from '../Icon'; export type Props = React.ComponentPropsWithRef & { /** * Icon to display for the `Avatar`. */ icon: IconSource; /** * Size of the avatar. */ size?: number; /** * Custom color for the icon. */ color?: string; style?: StyleProp; /** * @optional */ theme?: ThemeProp; }; /** * Avatars can be used to represent people in a graphical way. * * ## Usage * ```js * import * as React from 'react'; * import { Avatar } from 'react-native-paper'; * * const MyComponent = () => ( * * ); * ``` */ declare const Avatar: { ({ icon, size, style, theme: themeOverrides, ...rest }: Props): React.JSX.Element; displayName: string; }; export default Avatar; //# sourceMappingURL=AvatarIcon.d.ts.map