<template>
  <el-col :span="(config.span || 12) * 2">
    <slot></slot>
  </el-col>
</template>

<script lang="ts">
  import { Component, Prop, Vue } from 'vue-property-decorator';

  interface ColConfig {
    span?: number
  }

  @Component({
    name: 'mcCol'
  })
  export default class extends Vue {
    @Prop({ default: () => [] }) private config!: ColConfig;
  }
</script>

