From 1ef95ec1ec7f555a09221e80a4303dda985cc0fb Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 23 Feb 2016 11:16:58 +0800 Subject: [PATCH 1/4] improve demo for select optionFilterProp --- components/select/demo/search.md | 16 +++++++++------- components/select/index.md | 2 +- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/components/select/demo/search.md b/components/select/demo/search.md index d52f216f3d..3ab81a4c84 100644 --- a/components/select/demo/search.md +++ b/components/select/demo/search.md @@ -15,14 +15,16 @@ function handleChange(value) { } ReactDOM.render( - , mountNode); ```` diff --git a/components/select/index.md b/components/select/index.md index 0289b7ba9e..27d5a7c25d 100644 --- a/components/select/index.md +++ b/components/select/index.md @@ -38,7 +38,7 @@ | searchPlaceholder | 搜索框默认文字 | string | 无 | | notFoundContent | 当下拉列表为空时显示的内容 | string | 'Not Found' | | dropdownMatchSelectWidth | 下拉菜单和选择器同宽 | boolean | true | -| optionFilterProp | 输入项过滤对应的 option 属性 | string | value | +| optionFilterProp | 搜索时过滤对应的 option 属性,如设置为 children 表示对内嵌内容进行搜索 | string | value | | combobox | 输入框自动提示模式 | boolean | false | | size | 选择框大小,可选 `large` `small` | String | default | | showSearch | 在下拉中显示搜索框 | boolean | false | From ca74e17b7be95ac212496d20b46aa32d2ce2c0f8 Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 23 Feb 2016 11:30:44 +0800 Subject: [PATCH 2/4] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 69fca49606..5e97f78d1f 100644 --- a/README.md +++ b/README.md @@ -10,9 +10,9 @@ An enterprise-class UI design language and React-based implementation. ## Features -- An enterprise-class graphical design language and framework for financial applications. +- An enterprise-class design language and high quality UI framework. - Rich library of UI components base on [React Component](http://react-component.github.io/badgeboard/). -- A npm + webpack + babel workflow, supporting ES2015. +- A npm + webpack + babel + dora [workflow](http://ant-tool.github.io/index.html). ## Install From 9523ade5429013b1977ce96ef931d2e779bb7eb9 Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 23 Feb 2016 11:32:00 +0800 Subject: [PATCH 3/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5e97f78d1f..fcc11b03a6 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ An enterprise-class UI design language and React-based implementation. ## Features -- An enterprise-class design language and high quality UI framework. +- An enterprise-class design language and high quality UI style. - Rich library of UI components base on [React Component](http://react-component.github.io/badgeboard/). - A npm + webpack + babel + dora [workflow](http://ant-tool.github.io/index.html). From aa16f6c3984dabee03706ccee424b9e06b394e1c Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 23 Feb 2016 14:36:24 +0800 Subject: [PATCH 4/4] Fix(site): fix icon copy text --- components/icon/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/icon/index.md b/components/icon/index.md index 46b6e5bdad..1140becfe5 100644 --- a/components/icon/index.md +++ b/components/icon/index.md @@ -120,7 +120,7 @@ const CopyableIcon = React.createClass({ }); }, render() { - const text = '<Icon type="' + this.props.type + '" />'; + const text = ''; return (