ant-design/components/_util/wave/interface.ts
二货爱吃白萝卜 6e3a9080bf
fix: Checkbox & Radio not support customize wave (#44014)
* chore: fix checkbox

* chore: checkbox support disabled

* chore: radio support wave

* test: update test case

* chore: fix lint

* test: update snapshot

* test: update snapshot

* test: fix test case

* test: update test case
2023-08-04 11:22:33 +08:00

17 lines
343 B
TypeScript

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;