use-wave
Version:
The material-ripple hook for React that actually works
7 lines (6 loc) • 333 B
TypeScript
/**
* Creates a container element for the wave.
* @param el The element that the wave will appear on
* @param styles The Computed Styles of `el`
*/
export declare const createContainer: ({ borderTopLeftRadius, borderTopRightRadius, borderBottomLeftRadius, borderBottomRightRadius }: CSSStyleDeclaration) => HTMLDivElement;