How to use the grommet-controls.Card.CardActions function in grommet-controls

To help you get started, we’ve selected a few grommet-controls examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github atanasster / grommet-nextjs / pages / add-ons / card.js View on Github external
import React from 'react';
import { Box } from 'grommet';
import { Card } from 'grommet-controls';
import doc, { docCardActions, docCardTitle, docCardContent } from 'grommet-controls/components/Card/doc';
import Doc from '../../components/Doc';

const desc = doc(Card).toJSON();
const descCardActions = docCardActions(Card.CardActions).toJSON();
const descCardTitle = docCardTitle(Card.CardTitle).toJSON();
const descCardContent = docCardContent(Card.CardContent).toJSON();

export default () => (