UNPKG

@kietpt2003/react-native-core-ui

Version:
20 lines 674 B
import React from 'react'; import { StyleProp, ViewStyle, TextStyle } from 'react-native'; import { Source, ImageStyle } from 'react-native-fast-image'; export type AvatarVariant = 'circular' | 'rounded' | 'square'; export interface AvatarProps { source?: number | Source | undefined; size?: number; variant?: AvatarVariant; children?: React.ReactNode; alt?: string; style?: StyleProp<ViewStyle>; imageStyle?: ImageStyle; textStyle?: StyleProp<TextStyle>; backgroundColor?: string; iconColor?: string; isFirstAlt?: boolean; } declare const Avatar: React.FC<AvatarProps>; export default Avatar; //# sourceMappingURL=Avatar.d.ts.map