<template>
  <div class="table-header">
    <div class="header-left">
      <slot name="operation"></slot>
    </div>
    <div class="header-right">
      <slot name="search"></slot>
    </div>
  </div>
</template>

<script>
export default {
  name: 'TableHeader'
};
</script>

<style lang="less" scoped>
.table-header {
  width: 100%;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  :deep(.el-form-item) {
    margin-bottom: 0px;
  }
}
</style>
