import "../../../src/scss/top-tips.scss";
import PopupMixin from "../../../es5/mixins/popup";
import mixins from "../../../es5/utils/mixins";
export default mixins(PopupMixin).extend({
  name: 'w-top-tips',
  props: {
    message: {
      type: String,
      default: '',
      required: false
    }
  },
  render: function render() {
    var h = arguments[0];
    return h("transition", {
      "attrs": {
        "enter-active-class": "weui-animate-fade-in",
        "leave-active-class": "weui-animate-fade-out"
      }
    }, [h("div", {
      "class": "weui-toptips weui-toptips_warn",
      "directives": [{
        name: "show",
        value: this.visible
      }],
      "domProps": {
        "innerHTML": this.message
      }
    })]);
  }
});
//# sourceMappingURL=WTopTips.js.map