ant-design/components/_util/wave/interface.ts

17 lines
343 B
TypeScript
Raw Normal View History

import type { GlobalToken } from '../../theme';
export const TARGET_CLS = 'ant-wave-target';
export type ShowWaveEffect = (
element: HTMLElement,
info: {
className: string;
token: GlobalToken;
component?: string;
event: MouseEvent;
hashId: string;
},
) => void;
export type ShowWave = (event: MouseEvent) => void;