react-native-ui-lib
Version:
[](https://travis-ci.org/wix/react-native-ui-lib) [](https://www.npmjs.com/package/react-native-ui-lib) [![NPM Down
23 lines (22 loc) • 666 B
TypeScript
/// <reference types="react" />
import { BaseComponent } from "../../commons";
declare type ImageProps = {
sourceTransformer?: (...args: any[]) => any;
assetName?: string;
assetGroup?: string;
};
/**
* @description: Image wrapper with extra functionality like source transform and assets support
* @extends: Image
* @extendslink: https://facebook.github.io/react-native/docs/image.html
*/
declare class Image extends BaseComponent<ImageProps, {}> {
static displayName: string;
static defaultProps: {
assetGroup: string;
};
constructor(props: any);
getImageSource(): any;
render(): JSX.Element;
}
export default Image;