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