Some checks failed
CI/CD Pipeline / unit-tests (push) Failing after 1m16s
CI/CD Pipeline / integration-tests (push) Failing after 2m32s
CI/CD Pipeline / lint (push) Successful in 5m22s
CI/CD Pipeline / e2e-tests (push) Has been skipped
CI/CD Pipeline / build (push) Has been skipped
33 lines
919 B
TypeScript
33 lines
919 B
TypeScript
import * as React from 'react';
|
|
import { InternalStandardProps as StandardProps } from '..';
|
|
import { TouchRippleClasses, TouchRippleClassKey } from './touchRippleClasses';
|
|
|
|
export { TouchRippleClassKey };
|
|
|
|
export interface StartActionOptions {
|
|
pulsate?: boolean;
|
|
center?: boolean;
|
|
}
|
|
|
|
export interface TouchRippleActions {
|
|
start: (
|
|
event?: React.SyntheticEvent,
|
|
options?: StartActionOptions,
|
|
callback?: () => void,
|
|
) => void;
|
|
pulsate: (event?: React.SyntheticEvent) => void;
|
|
stop: (event?: React.SyntheticEvent, callback?: () => void) => void;
|
|
}
|
|
|
|
export type TouchRippleProps = StandardProps<React.HTMLAttributes<HTMLElement>> & {
|
|
center?: boolean;
|
|
/**
|
|
* Override or extend the styles applied to the component.
|
|
*/
|
|
classes?: Partial<TouchRippleClasses>;
|
|
};
|
|
|
|
declare const TouchRipple: React.ForwardRefRenderFunction<TouchRippleActions, TouchRippleProps>;
|
|
|
|
export default TouchRipple;
|