import Vue from 'vue'
import './SntText.scss'

export default Vue.extend({
  name: 'SntText',
  props: {
    label: {
      type: String,
      required: true
    }
  },
  computed: {
    classes () {
      return {}
    }
  },
  methods: {
    genWrapper () {
      return this.$createElement('div', {
        staticClass: 'snt-text__content',
        key: 'progress'
      }, [this.label])
    }
  },
  render (h) {
    return h('div', {
      staticClass: 'snt-text',
      class: this.classes
    }, [this.genWrapper(), this.$slots.default])
  }
})
