mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
20 lines
514 B
TypeScript
20 lines
514 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?: WaveComponent;
|
|
event: MouseEvent;
|
|
hashId: string;
|
|
},
|
|
) => void;
|
|
|
|
export type ShowWave = (event: MouseEvent) => void;
|
|
|
|
export type WaveComponent = 'Tag' | 'Button' | 'Checkbox' | 'Radio' | 'Switch';
|