File tree Expand file tree Collapse file tree
products/tdesign-mobile-react/src/config-provider Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -158,8 +158,11 @@ newsAriaLabel | String | - | \- | N
158158name | type | default | description | required
159159-- | -- | -- | -- | --
160160clearFilterResultButtonText | String | - | \- | N
161+ confirmText | String | - | \- | N
161162empty | TNode | - | Typescript: ` string \| TNode ` 。[ see more ts definition] ( https://github.com/Tencent/tdesign-mobile-react/blob/develop/src/common.ts ) | N
163+ filterIcon | TElement | undefined | Typescript: ` TNode ` 。[ see more ts definition] ( https://github.com/Tencent/tdesign-mobile-react/blob/develop/src/common.ts ) | N
162164hideSortTips | Boolean | false | hide sort tips | N
165+ resetText | String | - | \- | N
163166searchResultText | String | - | \- | N
164167
165168### UploadConfig
Original file line number Diff line number Diff line change @@ -158,8 +158,11 @@ newsAriaLabel | String | - | 语言配置,“有新的消息”描述文本 |
158158名称 | 类型 | 默认值 | 描述 | 必传
159159-- | -- | -- | -- | --
160160clearFilterResultButtonText | String | - | 语言配置,过滤功能中,“清空筛选” 描述文本 | N
161+ confirmText | String | - | 语言配置,“确认” 描述文本 | N
161162empty | TNode | - | 语言配置,“暂无数据” 描述文本。TS 类型:` string \| TNode ` 。[ 通用类型定义] ( https://github.com/Tencent/tdesign-mobile-react/blob/develop/src/common.ts ) | N
163+ filterIcon | TElement | undefined | 过滤图标,如果没有配置,会使用组件内置的默认图标。TS 类型:` TNode ` 。[ 通用类型定义] ( https://github.com/Tencent/tdesign-mobile-react/blob/develop/src/common.ts ) | N
162164hideSortTips | Boolean | false | 隐藏排序文本提示 | N
165+ resetText | String | - | 语言配置,“重置” 描述文本 | N
163166searchResultText | String | - | 语言配置,过滤功能中,过滤条件和结果描述文本,示例:'搜索“{result}”,找到 {count} 条结果' | N
164167
165168### UploadConfig
Original file line number Diff line number Diff line change 66
77import { FormErrorMessage } from '../form' ;
88import { ImageProps } from '../image' ;
9- import type { TNode } from '../common' ;
9+ import type { TNode , TElement } from '../common' ;
1010
1111export interface TdConfigProviderProps {
1212 /**
@@ -374,15 +374,29 @@ export interface TableConfig {
374374 * @default ''
375375 */
376376 clearFilterResultButtonText ?: string ;
377+ /**
378+ * 语言配置,“确认” 描述文本
379+ * @default ''
380+ */
381+ confirmText ?: string ;
377382 /**
378383 * 语言配置,“暂无数据” 描述文本
379384 */
380385 empty ?: TNode ;
386+ /**
387+ * 过滤图标,如果没有配置,会使用组件内置的默认图标
388+ */
389+ filterIcon ?: TElement ;
381390 /**
382391 * 隐藏排序文本提示
383392 * @default false
384393 */
385394 hideSortTips ?: boolean ;
395+ /**
396+ * 语言配置,“重置” 描述文本
397+ * @default ''
398+ */
399+ resetText ?: string ;
386400 /**
387401 * 语言配置,过滤功能中,过滤条件和结果描述文本,示例:'搜索“{result}”,找到 {count} 条结果'
388402 * @default ''
Original file line number Diff line number Diff line change @@ -130583,7 +130583,8 @@
130583130583 "id": 2512,
130584130584 "platform_framework": [
130585130585 "1",
130586- "2"
130586+ "2",
130587+ "16"
130587130588 ],
130588130589 "component": "TableConfig",
130589130590 "field_category": 1,
@@ -130612,7 +130613,8 @@
130612130613 "field_category_text": "Props",
130613130614 "platform_framework_text": [
130614130615 "Vue(PC)",
130615- "React(PC)"
130616+ "React(PC)",
130617+ "React(Mobile)"
130616130618 ],
130617130619 "field_type_text": [
130618130620 "String"
@@ -130706,7 +130708,8 @@
130706130708 "id": 2378,
130707130709 "platform_framework": [
130708130710 "1",
130709- "2"
130711+ "2",
130712+ "16"
130710130713 ],
130711130714 "component": "TableConfig",
130712130715 "field_category": 1,
@@ -130735,7 +130738,8 @@
130735130738 "field_category_text": "Props",
130736130739 "platform_framework_text": [
130737130740 "Vue(PC)",
130738- "React(PC)"
130741+ "React(PC)",
130742+ "React(Mobile)"
130739130743 ],
130740130744 "field_type_text": [
130741130745 "TNode"
@@ -130864,7 +130868,8 @@
130864130868 "id": 2511,
130865130869 "platform_framework": [
130866130870 "1",
130867- "2"
130871+ "2",
130872+ "16"
130868130873 ],
130869130874 "component": "TableConfig",
130870130875 "field_category": 1,
@@ -130893,7 +130898,8 @@
130893130898 "field_category_text": "Props",
130894130899 "platform_framework_text": [
130895130900 "Vue(PC)",
130896- "React(PC)"
130901+ "React(PC)",
130902+ "React(Mobile)"
130897130903 ],
130898130904 "field_type_text": [
130899130905 "String"
You can’t perform that action at this time.
0 commit comments