From 7b4abe7568723642051aa5a152faeabace6f1730 Mon Sep 17 00:00:00 2001 From: jim Date: Thu, 8 Feb 2018 16:13:09 +0800 Subject: [PATCH] doc add select component showArrow props document --- components/select/index.en-US.md | 1 + components/select/index.zh-CN.md | 1 + 2 files changed, 2 insertions(+) diff --git a/components/select/index.en-US.md b/components/select/index.en-US.md index c95bf07649..7f454580fb 100644 --- a/components/select/index.en-US.md +++ b/components/select/index.en-US.md @@ -43,6 +43,7 @@ Select component to select value from options. | optionLabelProp | Which prop value of option will render as content of select. | string | `children` | | placeholder | Placeholder of select | string\|ReactNode | - | | showSearch | Whether show search input in single mode. | boolean | false | +| showArrow | Whether to show the drop-down arrow | boolean | true | | size | Size of Select input. `default` `large` `small` | string | default | | tokenSeparators | Separator used to tokenize on tag/multiple mode | string\[] | | | value | Current selected option. | string\|number\|string\[]\|number\[] | - | diff --git a/components/select/index.zh-CN.md b/components/select/index.zh-CN.md index 892736e1d3..48c53b6f24 100644 --- a/components/select/index.zh-CN.md +++ b/components/select/index.zh-CN.md @@ -46,6 +46,7 @@ title: Select | optionLabelProp | 回填到选择框的 Option 的属性值,默认是 Option 的子元素。比如在子元素需要高亮效果时,此值可以设为 `value`。 | string | `children` (combobox 模式下为 `value`) | | placeholder | 选择框默认文字 | string | - | | showSearch | 使单选模式可搜索 | boolean | false | +| showArrow | 是否显示下拉小箭头 | boolean | true | | size | 选择框大小,可选 `large` `small` | string | default | | tags | 可以把随意输入的条目作为 tag,输入项不需要与下拉选项匹配(2.9 之后废弃,请使用 `mode`) | boolean | false | | tokenSeparators | 在 tags 和 multiple 模式下自动分词的分隔符 | string\[] | |