@janiscommerce/ui-native
Version:
components library for Janis app
11 lines (10 loc) • 438 B
TypeScript
import React from 'react';
import { Props as NativeIconProps } from '../Icon';
import { ViewStyle } from 'react-native';
import { FastImageProps } from 'react-native-fast-image';
interface ImageProps extends FastImageProps {
iconProps?: NativeIconProps;
iconBackgroundStyle?: ViewStyle;
}
declare const Image: ({ source, iconProps, iconBackgroundStyle, onError, ...props }: ImageProps) => React.JSX.Element;
export default Image;