You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
943 B

import * as React from 'react';
import { ConfigConsumerProps } from '../config-provider';
export default class Wave extends React.Component<{
insertExtraNode?: boolean;
}> {
static contextType: React.Context<ConfigConsumerProps>;
private instance?;
private extraNode;
private clickWaveTimeoutId;
private animationStartId;
private animationStart;
private destroyed;
private csp?;
context: ConfigConsumerProps;
componentDidMount(): void;
componentWillUnmount(): void;
onClick: (node: HTMLElement, waveColor: string) => void;
onTransitionStart: (e: AnimationEvent) => void;
onTransitionEnd: (e: AnimationEvent) => void;
getAttributeName(): string;
bindAnimationEvent: (node: HTMLElement) => {
cancel: () => void;
} | undefined;
resetEffect(node: HTMLElement): void;
renderWave: ({ csp }: ConfigConsumerProps) => React.ReactNode;
render(): JSX.Element;
}