diff --git a/components/tag/CheckableTag.tsx b/components/tag/CheckableTag.tsx index e333f1c927..02b392effe 100644 --- a/components/tag/CheckableTag.tsx +++ b/components/tag/CheckableTag.tsx @@ -6,6 +6,10 @@ export interface CheckableTagProps { prefixCls?: string; className?: string; style?: React.CSSProperties; + /** + * @description it is an absolute controlled component and has no uncontrolled mode. + * @description.zh-CN 该组件为完全受控组件,不支持非受控用法。 + */ checked: boolean; onChange?: (checked: boolean) => void; onClick?: (e: React.MouseEvent) => void;