diff --git a/src/tag/tag.en-US.md b/src/tag/tag.en-US.md index 9f20d86a..9deb9c2b 100644 --- a/src/tag/tag.en-US.md +++ b/src/tag/tag.en-US.md @@ -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`
| N onClick | Function | | Typescript:`(context: { e: MouseEvent }) => void`
| N diff --git a/src/tag/tag.md b/src/tag/tag.md index c26f2ad8..2837879c 100644 --- a/src/tag/tag.md +++ b/src/tag/tag.md @@ -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`
状态切换时触发 | N onClick | Function | | TS 类型:`(context: { e: MouseEvent }) => void`
点击标签时触发 | N diff --git a/src/tag/type.ts b/src/tag/type.ts index ee6c17c5..f11b130f 100644 --- a/src/tag/type.ts +++ b/src/tag/type.ts @@ -105,10 +105,6 @@ export interface TdCheckTagProps { * @default medium */ size?: SizeEnum; - /** - * 透传标签未选态属性 - */ - uncheckedProps?: TdTagProps; /** * 标签风格变体 * @default dark