Card

A card is a sheet of material that serves as an entry point to more detailed information.

Usage

const MyComponent = () => (
  <Card>
    <CardContent>
      <Title>Card title</Title>
      <Paragraph>Card content</Paragraph>
    </CardContent>
    <CardCover source={{ uri: 'https://picsum.photos/700' }} />
    <CardActions>
      <Button>Cancel</Button>
      <Button>Ok</Button>
    </CardActions>
  </Card>
);

Props

elevation
Type: number
Default value: 2

Resting elevation of the card which controls the drop shadow.

onPress
Type: Function

Function to execute on press.

children (required)

Content of the Card.

style
Type: any
theme
Type: Theme