<template>
  <div style="display: inline-block;">
    <Button :type="type" class="buttonStyle">{{property.label}}</Button>
  </div>
</template>

<script>
import {editSetting} from './property';
export default {
    // props: {
    //     text: {
    //         type: String,
    //         default: 'Button Text'
    //     },
    //     type: String,
    //     styles: Object
    // },
    data () {
        return {
            property:{
                label : '按钮',
            },
            text: '按钮',
            type: 'success',
            level: editSetting.level,
        };
    },
    editSetting,
    name: editSetting.key,
    level: editSetting.level
};
</script>

<style scoped>
    .buttonStyle{
        margin-right:10px;
    }
</style>
