import * as React from 'react'; import { TagPropsType } from './PropsType'; import { ConfigConsumerProps } from '../config-provider'; export interface TagProps extends TagPropsType { prefixCls?: string; className?: string; style?: React.CSSProperties; } export default class Tag extends React.Component { static defaultProps: { disabled: boolean; closable: boolean; size: string; onChange(): void; onClose(): void; }; constructor(props: TagProps); onClick: () => void; onTagClose: () => void; renderTag: ({ getPrefixCls }: ConfigConsumerProps) => JSX.Element | null; render(): JSX.Element; }