Logo

Card.Content

A component to show content inside a Card.

Usage

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

const MyComponent = () => (
  <Card>
    <Card.Content>
      <Title>Card title</Title>
      <Paragraph>Card content</Paragraph>
    </Card.Content>
  </Card>
);

export default MyComponent;

Props

children (required)
Type: React.ReactNode

Items inside the Card.Content.

style
Type: StyleProp<ViewStyle>
Edit this page