<template>
  <div class="formDiv">
    <div class="formDiv-left">
      <Label v-if="type==='label'">
        {{property.label}}
      </Label>
    </div>
  </div>
</template>

<script>
import {editSetting} from './property';
export default {
    // props: {
    //     text: {
    //         type: String,
    //         default: 'Button Text'
    //     },
    //     type: String,
    //     styles: Object
    // },
    data () {
        return {
            property:{
                label : 'Label',
            },
            text: 'label',
            styles: {
                display:'inline-block',
                width:'40%',
                height:'60px',
                lineHeight:'60px',
                textAlign:'right',
                fontSize:'15px'
            },
            type: 'label',
            level: editSetting.level,
        };
    },
    editSetting,
    name: editSetting.key,
    level: editSetting.level
};
</script>

<style scoped>
  .formDiv{
    display:inline-block;
    line-height: 60px;
  }
  .formDiv-left {
    display:inline-block;
    width: 35%;
    height:60px;
    line-height:60px;
    text-align:right;
    font-size:15px;
    float: left;
    margin: 0 10px;
  }
</style>
