<template>
  <div class="qf-card">
    <div class="qf-card-header">
      <slot name="icon"></slot>
      <span class="title" v-if="title">{{title}}</span>
      <div class="qf-card-remark">
        <slot name="remark"></slot>
      </div>
      <slot name="actions"></slot>
    </div>
    <div class="qf-card-body">
      <slot></slot>
    </div>
  </div>
</template>

<script>
export default {
  name: 'QfCard',
  props: {
    title: String
  }
};
</script>
