import React from "react";
import styles from "./statics/styles/link-preview-popover-scss.js";
class LinkPreviewPopoverViewer extends React.Component {
  constructor(props) {
    super(props);
    this.state = {};
  }
  render() {
    const { title, description, provider_url, thumbnail_url } = this.props;
    return /* @__PURE__ */ React.createElement("div", { className: styles.viewerContainer }, thumbnail_url ? /* @__PURE__ */ React.createElement("div", { className: styles.ImageWrapper }, /* @__PURE__ */ React.createElement("img", { className: styles.Image, src: thumbnail_url, alt: "" })) : null, /* @__PURE__ */ React.createElement("div", { className: styles.texts }, /* @__PURE__ */ React.createElement("div", { className: styles.url }, provider_url), /* @__PURE__ */ React.createElement("div", { className: styles.title }, title), /* @__PURE__ */ React.createElement("div", { className: styles.description }, description)));
  }
}
export {
  LinkPreviewPopoverViewer
};
//# sourceMappingURL=link-preview-popover-viewer.js.map
