Back to React Native Paper

Card.Cover

docs/public/4.0/card-cover.html

5.15.1655 B
Original Source

Card.Cover

A component to show a cover image inside a Card.

Usage

js
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