@flatbiz/antd
Version:
15 lines (12 loc) • 398 B
TypeScript
import { TAny } from '@flatbiz/utils';
import { TagProps } from 'antd';
export type TagWrapperProps = Omit<TagProps, "onClick"> & {
onClick?: (e: React.MouseEvent<HTMLElement>) => Promise<TAny> | void;
loading?: boolean;
debounceDuration?: number;
};
/**
* 为 Tag 添加 loading 效果
*/
export declare const TagWrapper: (props: TagWrapperProps) => import("react").JSX.Element;
export {};