UNPKG

@automattic/social-previews

Version:

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

12 lines 657 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LinkedInLinkPreview = LinkedInLinkPreview; const jsx_runtime_1 = require("react/jsx-runtime"); const helpers_1 = require("../helpers"); const post_preview_1 = require("./post-preview"); function LinkedInLinkPreview(props) { return ((0, jsx_runtime_1.jsx)(post_preview_1.LinkedInPostPreview, { name: "", profileImage: "", ...props, // Override the props that are irrelevant to link preview description: "", media: undefined, title: props.title || (0, helpers_1.getTitleFromDescription)(props.description) })); } //# sourceMappingURL=link-preview.js.map