UNPKG

polaris-glints

Version:

Glints forked polaris react

18 lines 720 B
import React from 'react'; import type { Action } from '../../types'; export interface CalloutCardProps { /** The content to display inside the callout card. */ children?: React.ReactNode; /** The title of the card */ title: React.ReactNode; /** URL to the card illustration */ illustration: string; /** Primary action for the card */ primaryAction: Action; /** Secondary action for the card */ secondaryAction?: Action; /** Callback when banner is dismissed */ onDismiss?(): void; } export declare function CalloutCard({ title, children, illustration, primaryAction, secondaryAction, onDismiss, }: CalloutCardProps): JSX.Element; //# sourceMappingURL=CalloutCard.d.ts.map