0.2.2 • Published 1 year ago
@99mini/core v0.2.2
Install
$ yarn add @99mini/core
Usage
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
Ripple
passparentRef={ref}
Dependency
0.2.2
1 year ago
0.2.1
1 year ago
0.2.0
1 year ago
0.1.1
1 year ago
0.1.0-alpha.2
1 year ago
0.1.0-alpha.0
1 year ago
0.1.0
1 year ago