'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const index = require('./index-1141a245.js');

const PlatformIntegrationWidget = class {
  constructor(hostRef) {
    index.registerInstance(this, hostRef);
  }
  render() {
    const { images, title, description, isConnected, strings, onConncet } = this;
    const buttonLabel = isConnected ? strings.disconnect : strings.conncet;
    return (index.h("dvn-card", { elevation: 0, style: { margin: '10px 0', minHeight: '300px' }, class: "p-2" }, images.map((image, i) => (index.h("img", { class: "mr-4", key: i, src: image }))), index.h("h3", { class: "my-3" }, title), index.h("p", { class: "mt-1" }, description), index.h("dvn-card-footer", { slot: "footer", "align-left": true }, index.h("dvn-button", { leaned: true, scale: "large", tint: isConnected ? 'neutral' : 'primary', onClick: onConncet }, buttonLabel))));
  }
};

exports.mentornity_platform_integration_widget = PlatformIntegrationWidget;
