import { r as registerInstance, h } from './index-ecdfb761.js';

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

export { PlatformIntegrationWidget as mentornity_platform_integration_widget };
