UNPKG

react-native-starsystem

Version:

Starbem React Native UI Toolkit

24 lines (23 loc) 5.76 kB
/// <reference types="react" /> import { Avatar, AvatarProps } from './Avatar'; import { Accessory, AccessoryProps } from './Avatar.Accessory'; declare const ThemedAvatar: (import("react").FunctionComponent<Pick<AvatarProps & Partial<import("../config").ThemeProps<AvatarProps>>, "source" | "title" | "onPress" | "onLongPress" | "size" | "iconStyle" | "containerStyle" | "Component" | "activeOpacity" | "icon" | "avatarStyle" | "rounded" | "titleStyle" | "overlayContainerStyle" | "imageProps" | "placeholderStyle" | "renderPlaceholderContent" | "ImageComponent">> & { Accessory: import("react").FunctionComponent<Pick<Partial<import("..").IconProps> & Partial<import("..").ImageProps> & { underlayColor?: import("react-native").ColorValue; style?: import("react-native").StyleProp<import("react-native").ViewStyle>; } & Partial<import("../config").ThemeProps<AccessoryProps>>, "reverse" | "style" | "onLayout" | "onError" | "onLoad" | "onLoadEnd" | "onLoadStart" | "progressiveRenderingEnabled" | "borderRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "resizeMode" | "resizeMethod" | "source" | "loadingIndicatorSource" | "testID" | "nativeID" | "defaultSource" | "blurRadius" | "capInsets" | "onProgress" | "onPartialLoad" | "fadeDuration" | "width" | "height" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "transition" | "allowFontScaling" | "ellipsizeMode" | "lineBreakMode" | "numberOfLines" | "onTextLayout" | "onPress" | "onLongPress" | "maxFontSizeMultiplier" | "adjustsFontSizeToFit" | "minimumFontScale" | "suppressHighlighting" | "selectable" | "selectionColor" | "textBreakStrategy" | "dataDetectorType" | "android_hyphenationFrequency" | "hitSlop" | "hasTVPreferredFocus" | "tvParallaxProperties" | "type" | "name" | "size" | "color" | "iconStyle" | "iconProps" | "underlayColor" | "raised" | "containerStyle" | "reverseColor" | "disabled" | "disabledStyle" | "Component" | "background" | "useForeground" | "delayLongPress" | "delayPressIn" | "delayPressOut" | "onBlur" | "onFocus" | "onPressIn" | "onPressOut" | "pressRetentionOffset" | "touchSoundDisabled" | "activeOpacity" | "onHideUnderlay" | "onShowUnderlay" | "solid" | "brand" | "backgroundColor" | "placeholderStyle" | "ImageComponent" | "PlaceholderContent" | "childrenContainerStyle" | "transitionDuration">> | import("react").ForwardRefExoticComponent<Partial<import("..").IconProps> & Partial<import("..").ImageProps> & { underlayColor?: import("react-native").ColorValue; style?: import("react-native").StyleProp<import("react-native").ViewStyle>; } & Partial<import("../config").ThemeProps<AccessoryProps>>>; }) | (import("react").ForwardRefExoticComponent<AvatarProps & Partial<import("../config").ThemeProps<AvatarProps>>> & { Accessory: import("react").FunctionComponent<Pick<Partial<import("..").IconProps> & Partial<import("..").ImageProps> & { underlayColor?: import("react-native").ColorValue; style?: import("react-native").StyleProp<import("react-native").ViewStyle>; } & Partial<import("../config").ThemeProps<AccessoryProps>>, "reverse" | "style" | "onLayout" | "onError" | "onLoad" | "onLoadEnd" | "onLoadStart" | "progressiveRenderingEnabled" | "borderRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "resizeMode" | "resizeMethod" | "source" | "loadingIndicatorSource" | "testID" | "nativeID" | "defaultSource" | "blurRadius" | "capInsets" | "onProgress" | "onPartialLoad" | "fadeDuration" | "width" | "height" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "transition" | "allowFontScaling" | "ellipsizeMode" | "lineBreakMode" | "numberOfLines" | "onTextLayout" | "onPress" | "onLongPress" | "maxFontSizeMultiplier" | "adjustsFontSizeToFit" | "minimumFontScale" | "suppressHighlighting" | "selectable" | "selectionColor" | "textBreakStrategy" | "dataDetectorType" | "android_hyphenationFrequency" | "hitSlop" | "hasTVPreferredFocus" | "tvParallaxProperties" | "type" | "name" | "size" | "color" | "iconStyle" | "iconProps" | "underlayColor" | "raised" | "containerStyle" | "reverseColor" | "disabled" | "disabledStyle" | "Component" | "background" | "useForeground" | "delayLongPress" | "delayPressIn" | "delayPressOut" | "onBlur" | "onFocus" | "onPressIn" | "onPressOut" | "pressRetentionOffset" | "touchSoundDisabled" | "activeOpacity" | "onHideUnderlay" | "onShowUnderlay" | "solid" | "brand" | "backgroundColor" | "placeholderStyle" | "ImageComponent" | "PlaceholderContent" | "childrenContainerStyle" | "transitionDuration">> | import("react").ForwardRefExoticComponent<Partial<import("..").IconProps> & Partial<import("..").ImageProps> & { underlayColor?: import("react-native").ColorValue; style?: import("react-native").StyleProp<import("react-native").ViewStyle>; } & Partial<import("../config").ThemeProps<AccessoryProps>>>; }); export { Avatar, Accessory }; export type { AccessoryProps, AvatarProps }; export default ThemedAvatar;