0.2.2 • Published 1 year ago

@99mini/core v0.2.2

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

Install

$ yarn add @99mini/core

Usage

Table of Contents

Ripple

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>
  );
};
  1. parent element connect ref
  2. Props of Ripple pass parentRef={ref}

Dependency

@99mini/utils

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