@perfma/heaven
Version:
An UI Framework base [Ant Design V4](https://ant.design/components/overview-cn/) for React.
17 lines (16 loc) • 564 B
TypeScript
import React from 'react';
import { TagProps } from 'antd';
import './index.less';
interface ProTagProps extends TagProps {
type?: 'default' | 'add';
disabled?: boolean;
maxLength?: number;
onClose?: (e: React.MouseEvent<HTMLElement>) => void;
}
declare const ProTag: {
({ type, disabled, maxLength, icon, className, prefixCls, children, ...resetProps }: ProTagProps): JSX.Element;
displayName: string;
CheckableTag: React.FC<import("antd/lib/tag").CheckableTagProps>;
};
export type { ProTagProps as TagProps };
export default ProTag;