Download ant-design/components/_util/wave/interface.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 514 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/ant-design/components/_util/wave/interface.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@f5071caa249115f3b590492f1c8eb471e02aae4b/ant-design/components/_util/wave/interface.ts
-
curl -L -o interface.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/ant-design/components/_util/wave/interface.ts
514 Bytes
| 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'; | |