UNPKG

@automattic/social-previews

Version:

A suite of components to generate previews for a post for both social and search engines.

18 lines 613 B
import { MediaItem, SocialPreviewBaseProps, SocialPreviewsBaseProps } from '../types'; export type ThreadsPreviewsProps = SocialPreviewsBaseProps & { posts: Array<ThreadsPreviewProps>; }; export type ThreadsCardProps = Omit<SocialPreviewBaseProps, 'description'>; export type SidebarProps = { showThreadConnector?: boolean; profileImage?: string; }; export type HeaderProps = { name?: string; date?: Date; }; export type MediaProps = { media: Array<MediaItem>; }; export type ThreadsPreviewProps = SidebarProps & HeaderProps & Partial<ThreadsCardProps>; //# sourceMappingURL=types.d.ts.map