Back to React Native Paper

Card.Content

docs/public/3.0/card-content.html

5.15.1713 B
Original Source

Card.Content

A component to show content inside a Card.

Usage

js
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