Skip to main content

Card.Content

A component to show content inside a Card.

Usage

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

const MyComponent = () => (
<Card>
<Card.Content>
<Text variant="titleLarge">Card title</Text>
<Text variant="bodyMedium">Card content</Text>
</Card.Content>
</Card>
);

export default MyComponent;

Props

children (required)

Type: React.ReactNode

Items inside the Card.Content.

style