import * as React from 'react'; import CheckableTag from './CheckableTag'; import { PresetColorType, PresetStatusColorType } from '../_util/colors'; import { LiteralUnion } from '../_util/type'; export { CheckableTagProps } from './CheckableTag'; export interface TagProps extends React.HTMLAttributes { prefixCls?: string; className?: string; color?: LiteralUnion; closable?: boolean; closeIcon?: React.ReactNode; visible?: boolean; onClose?: (e: React.MouseEvent) => void; style?: React.CSSProperties; icon?: React.ReactNode; } export interface TagType extends React.ForwardRefExoticComponent> { CheckableTag: typeof CheckableTag; } declare const Tag: TagType; export default Tag;