export default {
  name: 'UiGridBatchToolbar',
  inject: ['UiGrid'],
  props: {
    items: {
      type: Array,
      default: () => []
    }
  },
  watch: {
    items() {
      this.UiGrid.batchToolbarProps.items = this.items
    }
  },
  created() {
    this.UiGrid.batchToolbarProps.items = this.items
  },
  render() {
    return null
  }
}
