@automattic/social-previews
Version:
A suite of components to generate previews for a post for both social and search engines.
17 lines • 442 B
TypeScript
import type { SocialPreviewBaseProps } from '../types';
export type MastodonUser = {
displayName: string;
avatarUrl: string;
address: string;
};
export type MastodonAddressDetails = {
username: string;
instance: string;
};
export type MastodonPreviewProps = SocialPreviewBaseProps & {
user?: MastodonUser;
customText?: string;
customImage?: string;
siteName?: string;
};
//# sourceMappingURL=types.d.ts.map