
<template>
  <div class="FlexRow" :style="{height: cHeight}">
    <slot></slot>
  </div>
</template>

<script>
import {getSize} from "@/utils/tools";
  export default {
    name: 'FlexRow',
    components: {},
    mixins: [],
    inject: [],
    provide() {
      return {
        FlexCol: this
      }
    },
    props: {
      height: {
        type: String,
        default: ''
      }
    },
    data() {
      return {}
    },
    computed: {
      cHeight () {
        return getSize(this.height)
      }
    },
    watch: {},
    created() {
    },
    beforeDestroy() {
    },
    mounted() {
    },
    methods: {},
  }
</script>

<style scoped lang="less">
@import "assets/styles/mixin";
  .FlexRow {
    width: 100%;
    height: 100%;
    .flex-row;
    justify-content: space-between;
    align-items: center;
  }
</style>
