naive-ui/demo/documentation/components/list/zhCN/basic.demo.md
07akioni 487001d697 build: add changelog to site, refactor loader based on suffix
.demo.md for component demo
.demo-entry.md for demo entry
.md for common docs
2020-08-19 23:30:04 +08:00

583 B

基础用法

<n-list bordered>
  <template v-slot:header>
    hhh
  </template>
  <template v-slot:footer>
    fff
  </template>
  <n-list-item>
    <template v-slot:prefix>
      <n-button>Prefix</n-button>
    </template>
    <template v-slot:suffix>
      <n-button>Suffix</n-button>
    </template>
    <n-thing title="Thing" title-extra="extra" description="description">
      Biu<br>
      Biu<br>
      Biu<br>
    </n-thing>
  </n-list-item>
  <n-list-item>
    <n-thing title="Thing" title-extra="extra" description="description" />
  </n-list-item>
</n-list>