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