mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
improve select doc
This commit is contained in:
parent
953538d4e9
commit
ea6537b47a
@ -9,7 +9,7 @@ A Selector similar to Select2.
|
|||||||
## When To Use
|
## When To Use
|
||||||
|
|
||||||
- A dropdown menu for choosing, an elegant alternative to the native select component.
|
- A dropdown menu for choosing, an elegant alternative to the native select component.
|
||||||
- [Radio](/components/radio/) is a better solution when options amount is too little (less than or equal 3).
|
- [Radio](/components/radio/) is a better solution when options amount is too little (less than 5).
|
||||||
|
|
||||||
## API
|
## API
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ title: Select
|
|||||||
## 何时使用
|
## 何时使用
|
||||||
|
|
||||||
- 弹出一个下拉菜单给用户选择操作,用于代替原生的选择器,或者需要一个更优雅的多选器时。
|
- 弹出一个下拉菜单给用户选择操作,用于代替原生的选择器,或者需要一个更优雅的多选器时。
|
||||||
- 当选项少时,建议直接将选项平铺,使用 [Radio](/components/radio/) 是更好的选择。
|
- 当选项少时(少于 5 项),建议直接将选项平铺,使用 [Radio](/components/radio/) 是更好的选择。
|
||||||
|
|
||||||
## API
|
## API
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user