Back to React Native Paper

Card.Actions

docs/public/4.0/card-actions.html

5.15.1686 B
Original Source

Card.Actions

A component to show a list of actions inside a Card.

Usage

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

const MyComponent = () => (
  <Card>
    <Card.Actions>
      <Button>Cancel</Button>
      <Button>Ok</Button>
    </Card.Actions>
  </Card>
);

export default MyComponent;

Props

children (required) Type: React.ReactNode

Items inside the CardActions.

style Type: StyleProp<ViewStyle>

Edit this page