<template>
  <el-row :style="{ height: `${height}px` }"
          v-if="hr === false" />
  <hr v-else />
</template>
<script>
import ElRow from 'mk-element/packages/row';

export default {
  name: 'mk-hr',
  props: {
    hr: {
      type: Boolean,
      default: false
    },
    height: {
      type: Number,
      default: 10
    }
  },
  components: {
    ElRow
  }
};
</script>
