<template>
  <div class="ivu-button" @click.stop="handleClick">
    {{label}}
  </div>
</template>

<script>
export default {
  name: 'ivu-button',
  props: {
    label: String
  },
  data () {
    return {
      
    }
  },
  methods: {
    handleClick (item) {
      console.log('item', item)
      this.$emit('click', item)
    }
  }
}
</script>

<style lang="less" scoped>
.ivu-button{
  display: flex;
}
</style>
