naive-ui/demo/documentation/components/descriptions/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

24 lines
543 B
Markdown

# 基础用法
```html
<n-descriptions label-placement="top" title="描述">
<n-descriptions-item>
<template v-slot:label>
早餐
</template>
苹果
</n-descriptions-item>
<n-descriptions-item label="早午餐">
苹果
</n-descriptions-item>
<n-descriptions-item label="午餐">
苹果
</n-descriptions-item>
<n-descriptions-item label="晚餐" :span="2">
两个<br>
苹果
</n-descriptions-item>
<n-descriptions-item label="夜宵">
苹果
</n-descriptions-item>
</n-descriptions>
```