Logo

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

Type: React.ReactNode

Items inside the Card.Content.

Edit this page