UNPKG

@mui/material

Version:

Material UI is an open-source React component library that implements Google's Material Design. It's comprehensive and can be used in production out of the box.

22 lines 907 B
import * as React from 'react'; import { InternalStandardProps as StandardProps } from "../index.js"; import { TouchRippleClasses, TouchRippleClassKey } from "./touchRippleClasses.js"; 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;