UNPKG

@combine-labs/combine-polaris

Version:

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

19 lines (18 loc) 538 B
/// <reference types="react" /> export declare type Size = '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; /** Circular thumbnail */ round?: boolean; } export default function Thumbnail({ source, alt, abbr, round, size }: Props): JSX.Element;