antd-fx67ll-test
Version:
这是一个测试着玩的私服antd项目,完全照抄v4.16.6的antd源码,请勿使用,仅做发布测试(因每次发布必须要升版本,如发现版本出入请忽略,与官方无关)
29 lines (28 loc) • 975 B
TypeScript
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 containerRef;
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) => {} | null | undefined;
render(): JSX.Element;
}