choerodon-ui
Version:
An enterprise-class UI design language and React-based implementation
16 lines (15 loc) • 948 B
TypeScript
import React, { PureComponent } from 'react';
import { Size } from './MouseDown';
export interface RippleChildProps {
prefixCls?: string;
}
export default class RippleChild extends PureComponent<RippleChildProps> {
static displayName: string;
currentCircleStyle: any;
currentStyle: any;
componentProps?: any;
render(): {} | null | undefined;
getComponentProps(prefixCls: any): any;
handleMouseDown: (child: React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>, size?: Size | undefined) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>;
ripple: (child: React.ReactNode) => {} | null | undefined;
}