import * as React from "react";
import Frame from "../components/Frame";
import { EmbedProps as Props } from ".";
function Linkedin(props: Props) {
const { matches } = props.attrs;
const objectId = matches[2];
const postType = matches[1];
if (matches[3] === "embed") {
return ;
}
return (
);
}
Linkedin.ENABLED = [
/^https:\/\/www\.linkedin\.com\/(?:posts\/.*-(ugcPost|activity)-(\d+)-.*|(embed)\/(?:feed\/update\/urn:li:(?:ugcPost|share):(?:\d+)))/,
];
export default Linkedin;