@99mini/core
v0.2.2
Published
```bash $ yarn add @99mini/core ```
Readme
Install
$ yarn add @99mini/coreUsage
Table of Contents
Ripple
import { Ripple } from "@99mini/core";
import { useRef } from "react";
const MyComponent = () => {
const ref = useRef(null);
return (
<button style={{ position: "relative" }} ref={ref}>
<Ripple parentRef={ref} />
<span>hello</span>
</button>
);
};- parent element connect ref
- Props of
RipplepassparentRef={ref}
