<template>
  <div style="padding:5px">
    <div class="card el-button--primary">
      <div class="card-content">
        <i :class="iconName"></i>
        <div>{{ name }}</div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  props: {
    name: {
      type: String
    },
    iconName: {
      type: String
    }
  },
  methods: {}
};
</script>

<style lang="scss" scoped>
.card{
  //background: #ff7d13;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 14vh;
  .card-content{
    text-align: center;
    color: #fff;
    i{
      font-size: 30px;
    }
  }
}
</style>
