<template>
  <div :class="bem()" class="test">
    <div :class="bem('title')">{{title}}</div>
    <div :class="bem('value')">{{value}}</div>
  </div>
</template>
<script>
/**
 * bem 使用方法介绍
 * bem() // 'stc-cell'
 * bem('text') // 'stc-cell__text'
 * bem({ disabled }) // 'stc-cell stc-cell--disabled'
 * bem('text', { disabled }) // 'stc-cell__text stc-cell__text--disabled'
 * bem(['disabled', 'primary']) // 'stc-cell stc-cell--disabled stc-cell--primary'
 */
import { use } from '../utils/use';
const [bem, t] = use('cell');
export default {
  name: 'StcCell',
  data() {
    return {
    };
  },
  props: {
    title: {
      type: String,
      default: 'title'
    },
    value: {
      type: String,
      default: 'value'
    }
  },
  methods: {
    bem, t
  }
};
</script>

