import * as React from "react"; import CheckableTag from "./CheckableTag"; export interface TagProps extends React.HTMLAttributes { prefixCls?: string; className?: string; color?: string; /** 标签是否可以关闭 */ closable?: boolean; visible?: boolean; autoShowClose?: boolean; /** 关闭时的回调 */ onClose?: Function; /** 动画关闭后的回调 */ afterClose?: Function; style?: React.CSSProperties; } export interface TagState { closing: boolean; closed: boolean; visible: boolean; } declare const BaseTag: React.FC; declare type BaseTagType = typeof BaseTag; interface TagInterface extends BaseTagType { CheckableTag: typeof CheckableTag; } declare const Tag: TagInterface; export default Tag;