import React from 'react'; import { ButtonProps } from '../button/index'; declare type TagTypes = 'default' | 'primary' | 'success' | 'warning' | 'error'; export interface TagProps extends ButtonProps { [key: string]: any; type?: TagTypes; withBorder?: boolean; onClose?: () => void; className?: string; style?: React.CSSProperties; } export declare class Tag extends React.Component { static defaultProps: Partial; handleClose: (ev: React.SyntheticEvent) => void; render(): JSX.Element; } export default Tag;