UNPKG

react-native-ui-lib

Version:

[![Build Status](https://travis-ci.org/wix/react-native-ui-lib.svg?branch=master)](https://travis-ci.org/wix/react-native-ui-lib) [![npm](https://img.shields.io/npm/v/react-native-ui-lib.svg)](https://www.npmjs.com/package/react-native-ui-lib) [![NPM Down

24 lines (23 loc) 756 B
/// <reference types="react" /> import { BaseComponent } from "../../commons"; declare type CardImageProps = { imageSource?: object | number; width?: number | string; height?: number | string; position?: string | string[]; borderRadius?: number; testID?: string; }; /** * @description: Card.Image, part of the Card component belongs inside a Card (better be a direct child) * @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/CardsScreen.js */ export default class CardImage extends BaseComponent<CardImageProps, {}> { static displayName: string; static defaultProps: { borderRadius: any; }; generateStyles(): void; render(): JSX.Element; } export {};