<template>
  <el-form-item :label="label" class="formitem" :style="`display: flex;`">
    <slot></slot>
  </el-form-item>
</template>

<script>
export default {
  props: {
    label: {
      type: String,
    },
  },
};
</script>

<style scoped lang="scss">
.formitem {
  margin-right: 20px;
}
</style>