'use strict';

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

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

const MentornityAcceptApplicationButton = class {
  constructor(hostRef) {
    index.registerInstance(this, hostRef);
    this.updateStatusAnnouncement = index.createEvent(this, "updateStatusAnnouncement", 7);
  }
  render() {
    return (index.h(index.Host, null, index.h("dvn-switch", { tint: "secondary", scale: "small", checked: this.item.status === 'published' ? true : false, onChange: () => this.updateStatusAnnouncement.emit(this.item) })));
  }
};

exports.mentornity_announcements_status_switch = MentornityAcceptApplicationButton;
