UNPKG

@combine-labs/combine-polaris

Version:

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

17 lines (16 loc) 495 B
/// <reference types="react" /> export declare type Size = 'extraSmall' | 'small' | 'medium' | 'large'; export interface Props { /** * Size of thumbnail * @default 'medium' */ size?: Size; /** URL for the image */ source?: string; /** Alt text for the thumbnail image */ alt: string; /** 3-letter abbreviation for non-image thumbnails, eg. PDF */ abbr?: string; } export default function Thumbnail({ source, alt, abbr, size }: Props): JSX.Element;