Skip to content

Commit

Permalink
fix(CheckTag): remove uncheckedProps props (#457)
Browse files Browse the repository at this point in the history
  • Loading branch information
anlyyao authored Aug 14, 2024
1 parent 862c5d5 commit 71cd595
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/tag/tag.en-US.md
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 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 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

0 comments on commit 71cd595

Please sign in to comment.