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