import { FC } from "react"; import { Argument } from "classnames"; import { TokenProps } from "../Token"; export declare type TagProps = { /** 前置 token 的 props 属性,同 Token 组件 */ token?: TokenProps; /** 是否是激活状态 */ active?: boolean; /** 状态改变回调函数 */ onChange?: (status: boolean) => void; /** 点击 remove 回调函数,需开启 removeable */ onRemove?: (t: TagProps) => void; /** 尺寸大小 */ size?: "sm" | "lg"; /** 所处环境,默认是白色背景 */ theme?: "onWhite" | "onGray"; /** 是否可点击 */ clickable?: boolean; /** 设置额外的 class */ className?: Argument; }; declare const Tag: FC; export default Tag;