naive-ui/demo/documentation/components/descriptions/enUS/columns.md

24 lines
572 B
Markdown
Raw Normal View History

2019-11-12 15:04:42 +08:00
# Columns
You can adjust items per row by set column of descriptions.
```html
<n-descriptions label-placement="top" :column="4">
<n-descriptions-item>
<template v-slot:label>
Breakfast
</template>
Apple
</n-descriptions-item>
<n-descriptions-item label="Brunch">
Apple
</n-descriptions-item>
<n-descriptions-item label="Lunch">
Apple
</n-descriptions-item>
<n-descriptions-item label="Supper">
Apple
</n-descriptions-item>
<n-descriptions-item label="Midnight Snack">
Apple
</n-descriptions-item>
</n-descriptions>
```