import { cnb } from "cnbuilder"; import { type ReactElement } from "react"; import { Ripple } from "./Ripple.js"; import { type ProvidedRippleContainerProps } from "./types.js"; declare module "react" { interface CSSProperties { "--rmd-ripple-inset"?: string | number; "--rmd-ripple-border-radius"?: string | number; } } /** @internal */ export interface RippleContainerProps extends ProvidedRippleContainerProps { className?: string; } /** * This component should generally only be used internally within `react-md` * unless you are implementing a custom component interaction with * `useElementInteraction`. * * @see {@link useElementInteraction} for example usage. */ export function RippleContainer(props: RippleContainerProps): ReactElement { const { className, ripples, onEntered, onExited } = props; return ( {ripples.map((ripple) => ( ))} ); }