1 | import * as React from 'react';
|
2 | import { ConfigConsumerProps } from '../config-provider';
|
3 | export default class Wave extends React.Component<{
|
4 | insertExtraNode?: boolean;
|
5 | }> {
|
6 | static contextType: React.Context<ConfigConsumerProps>;
|
7 | private instance?;
|
8 | private containerRef;
|
9 | private extraNode;
|
10 | private clickWaveTimeoutId;
|
11 | private animationStartId;
|
12 | private animationStart;
|
13 | private destroyed;
|
14 | private csp?;
|
15 | context: ConfigConsumerProps;
|
16 | componentDidMount(): void;
|
17 | componentWillUnmount(): void;
|
18 | onClick: (node: HTMLElement, waveColor: string) => void;
|
19 | onTransitionStart: (e: AnimationEvent) => void;
|
20 | onTransitionEnd: (e: AnimationEvent) => void;
|
21 | getAttributeName(): string;
|
22 | bindAnimationEvent: (node: HTMLElement) => {
|
23 | cancel: () => void;
|
24 | } | undefined;
|
25 | resetEffect(node: HTMLElement): void;
|
26 | renderWave: ({ csp }: ConfigConsumerProps) => {} | null | undefined;
|
27 | render(): JSX.Element;
|
28 | }
|