import Routeable from "../../../es5/mixins/routable";
import mixins from "../../../es5/utils/mixins";
export default mixins(Routeable
/* @vue/component */
).extend({
  name: 'w-grid-item',
  methods: {
    onClick: function onClick() {
      this.$emit('click');
      this.routeLink();
    }
  },
  render: function render() {
    var _this = this;

    var h = arguments[0];
    return h("div", {
      "class": "weui-grid",
      "on": {
        "click": function click() {
          _this.onClick();
        }
      }
    }, [this.$slots.icon && h("div", {
      "class": "weui-grid__icon"
    }, [this.$slots.icon]), this.$slots.label && h("p", {
      "class": "weui-grid__label"
    }, [this.$slots.label]), this.$slots.default]);
  }
});
//# sourceMappingURL=WGridItem.js.map