UNPKG

@cimpress/react-components

Version:
22 lines 627 B
import React from 'react'; export interface SelectableCardsProps { /** Whether you can select multiple cards (true) or only one at a time (false) * @default false */ multiSelect?: boolean; /** The size of the cards * @default sm */ size?: 'sm' | 'lg'; /** The data shown on the selectable cards */ cards?: Card[]; /** The spacing between the cards */ spacing?: string; } interface Card { label?: string; image?: string; } export default function SelectableCards(props: SelectableCardsProps): React.JSX.Element; export {}; //# sourceMappingURL=SelectableCards.d.ts.map