Logo

Card.Cover

A component to show a cover image inside a Card.

Usage

import * as React from 'react';
import { Card } from 'react-native-paper';

const MyComponent = () => (
  <Card>
    <Card.Cover source={{ uri: 'https://picsum.photos/700' }} />
  </Card>
);

export default MyComponent;

Props

style
Type: StyleProp<ViewStyle>
theme
Type: ReactNativePaper.Theme
...Image propsEdit this page