import type { ReactNode } from 'react'; import { ValuesOf } from '../utils/typeUtils'; import { SIZES, SKINS } from './SocialPreview.constants'; export type SocialPreviewSkin = ValuesOf; export type SocialPreviewSize = ValuesOf; export type SocialPreviewProps = { /** Applies a data-hook HTML attribute that can be used in the tests. */ dataHook?: string; /** A social post link title. */ title?: string; /** A social post link description. */ description?: string; /** A url representation of the social post link. */ previewUrl?: string; /** A slot to render a media item, most commonly the ImageViewer component. */ media?: ReactNode; /** Changes the style of the preview. * @default 'social' */ skin?: SocialPreviewSkin; /** Specifies the size of the preview. Size small works only in combination with twitter skin. * @default 'large' */ size?: SocialPreviewSize; }; //# sourceMappingURL=SocialPreview.types.d.ts.map