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
Image props
Extends:
...Image props
style
Type: StyleProp<ViewStyle>
theme
Type: ThemeProp