UNPKG

@combine-labs/combine-polaris

Version:

Combine Lab's product component library. Forked from Shopify's Polaris.

16 lines (15 loc) 568 B
import * as React from 'react'; import { Action } from '../../types'; export interface Props { /** The content to display inside the callout card. */ children?: React.ReactNode; /** The title of the card */ title: string; /** URL to the card illustration */ illustration: string; /** Primary action for the card */ primaryAction: Action; /** Secondary action for the card */ secondaryAction?: Action; } export default function CalloutCard({ title, children, illustration, primaryAction, secondaryAction, }: Props): JSX.Element;