UNPKG

@automattic/social-previews

Version:

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

9 lines 502 B
import { jsx as _jsx } from "react/jsx-runtime"; import { getTitleFromDescription } from '../helpers'; import { LinkedInPostPreview } from './post-preview'; export function LinkedInLinkPreview(props) { return (_jsx(LinkedInPostPreview, { name: "", profileImage: "", ...props, // Override the props that are irrelevant to link preview description: "", media: undefined, title: props.title || getTitleFromDescription(props.description) })); } //# sourceMappingURL=link-preview.js.map