mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
docs(changelog): space justify prop
This commit is contained in:
parent
1c82974e11
commit
180d802d1f
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user