ant-design/components/_util/wave/interface.ts
lijianan 31b2e53755
chore: replace "ant-" with ${defaultPrefixCls} (#49390)
* fix: classname of the Radio & Checkbox would not follow CP

* test: add test case

* test: add test case

* test: update path

* fix: fix

* chore: revert

* chore: revert

* chore: revert

* chore: revert

* chore: revert
2024-06-15 15:41:58 +08:00

18 lines
417 B
TypeScript

import { defaultPrefixCls } from '../../config-provider';
import type { GlobalToken } from '../../theme';
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;