Skip to content

Commit

Permalink
fix(CheckTag): remove uncheckedProps props for mobile (#369)
Browse files Browse the repository at this point in the history
Co-authored-by: anlyyao <[email protected]>
  • Loading branch information
anlyyao and anlyyao authored Aug 14, 2024
1 parent d55e85b commit 944ec8c
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 8 deletions.
Binary file modified db/TDesign.db
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ disabled | Boolean | false | \- | N
icon | TElement | - | Typescript:`TNode`[see more ts definition](https://github.com/Tencent/tdesign-mobile-react/blob/develop/src/common.ts) | N
shape | String | square | options: square/round/mark | N
size | String | medium | options: small/medium/large。Typescript:`SizeEnum`[see more ts definition](https://github.com/Tencent/tdesign-mobile-react/blob/develop/src/common.ts) | N
uncheckedProps | Object | - | used to set unchecked tag props。Typescript:`TdTagProps` | N
variant | String | dark | options: dark/light/outline/light-outline | N
onChange | Function | | Typescript:`(checked: boolean) => void`<br/> | N
onClick | Function | | Typescript:`(context: { e: MouseEvent }) => void`<br/> | N
Expand Down
1 change: 0 additions & 1 deletion packages/products/tdesign-mobile-react/src/tag/tag.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ disabled | Boolean | false | 标签禁用态,失效标签不能触发事件。
icon | TElement | - | 标签中的图标,可自定义图标呈现。TS 类型:`TNode`[通用类型定义](https://github.com/Tencent/tdesign-mobile-react/blob/develop/src/common.ts) | N
shape | String | square | 标签类型,有三种:方形、圆角方形、标记型。可选项:square/round/mark | N
size | String | medium | 标签尺寸。可选项:small/medium/large。TS 类型:`SizeEnum`[通用类型定义](https://github.com/Tencent/tdesign-mobile-react/blob/develop/src/common.ts) | N
uncheckedProps | Object | - | 透传标签未选态属性。TS 类型:`TdTagProps` | N
variant | String | dark | 标签风格变体。可选项:dark/light/outline/light-outline | N
onChange | Function | | TS 类型:`(checked: boolean) => void`<br/>状态切换时触发 | N
onClick | Function | | TS 类型:`(context: { e: MouseEvent }) => void`<br/>点击标签时触发 | N
Expand Down
4 changes: 0 additions & 4 deletions packages/products/tdesign-mobile-react/src/tag/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,6 @@ export interface TdCheckTagProps {
* @default medium
*/
size?: SizeEnum;
/**
* 透传标签未选态属性
*/
uncheckedProps?: TdTagProps;
/**
* 标签风格变体
* @default dark
Expand Down
2 changes: 0 additions & 2 deletions packages/scripts/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -24652,7 +24652,6 @@
"1",
"2",
"4",
"16",
"32"
],
"component": "CheckTag",
Expand Down Expand Up @@ -24684,7 +24683,6 @@
"Vue(PC)",
"React(PC)",
"Angular(PC)",
"React(Mobile)",
"Angular(Mobile)"
],
"field_type_text": [
Expand Down

0 comments on commit 944ec8c

Please sign in to comment.