1 | import * as React from 'react';
|
2 | import { StyleProp, View, ViewStyle } from 'react-native';
|
3 | import type { ThemeProp } from '../../types';
|
4 | import { IconSource } from '../Icon';
|
5 | export type Props = React.ComponentPropsWithRef<typeof View> & {
|
6 | |
7 |
|
8 |
|
9 | icon: IconSource;
|
10 | |
11 |
|
12 |
|
13 | size?: number;
|
14 | |
15 |
|
16 |
|
17 | color?: string;
|
18 | style?: StyleProp<ViewStyle>;
|
19 | |
20 |
|
21 |
|
22 | theme?: ThemeProp;
|
23 | };
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 |
|
36 |
|
37 | declare const Avatar: {
|
38 | ({ icon, size, style, theme: themeOverrides, ...rest }: Props): React.JSX.Element;
|
39 | displayName: string;
|
40 | };
|
41 | export default Avatar;
|
42 |
|
\ | No newline at end of file |