GITLAB

frontend / zui

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • zui
  • packages
  • button
  • index.vue
  • 410a08c1   初始化 Browse Code »
    刘汉宸
    2020-03-12 14:49:48 +0800  
index.vue 305 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
<template>
  <div class="zui-button" :style="{ display: block ? 'block' : 'inline-block' }">
    <slot></slot>
  </div>
</template>

<script>
export default {
  name: 'Button',
  props: {
    block: {
      type: Boolean,
      default: false
    }
  }
}
</script>

<style>
@import "./index.css";
</style>