docs(changelog): space justify prop

This commit is contained in:
07akioni 2021-07-22 01:21:41 +08:00
parent 1c82974e11
commit 180d802d1f
4 changed files with 4 additions and 6 deletions

View File

@ -8,6 +8,7 @@
- `n-dropdown` add `render-icon` prop.
- `n-checkbox-group` add `min` and `max` prop.
- `n-mention` add `empty` slot.
- `n-space` `justify` prop supports `center`, `space-around` and `space-between`.
### Fixes

View File

@ -8,6 +8,7 @@
- `n-dropdown` 新增 `render-icon` 属性
- `n-checkbox-group` 新增 `min``max` 属性
- `n-mention` 新增 `empty` slot
- `n-space` `justify` 属性支持 `center`、`space-around` 和 `space-between`
### Fixes

View File

@ -1,9 +1,7 @@
# Space Between
In a way, `size` doesn't work on the main axis.
```html
<n-space justify="space-between" :size="[50, 10]">
<n-space justify="space-between">
<n-button>Oops!</n-button>
<n-button>Oops!</n-button>
<n-button>Oops!</n-button>

View File

@ -1,9 +1,7 @@
# 间隙
从某种以上来说, `size` 在主轴并没有用。
```html
<n-space justify="space-between" :size="[50, 10]">
<n-space justify="space-between">
<n-button>Oops!</n-button>
<n-button>Oops!</n-button>
<n-button>Oops!</n-button>