mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-24 07:28:28 +08:00
18 lines
426 B
TypeScript
18 lines
426 B
TypeScript
import { defaultPrefixCls } from '../../config-provider';
|
|
import type { GlobalToken } from '../../theme/internal';
|
|
|
|
export const TARGET_CLS = `${defaultPrefixCls}-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;
|