@arcblock/react-hooks

2.9.79 • Public • Published

@arcblock/react-hooks

DID UI components shared across arcblock products

Usage

yarn add @arcblock/react-hooks

Then:

import useInterval from '@arcblock/react-hooks/lib/useInterval';

useInterval(
  () => {
    // do something
  },
  condition ? 1000 : null
);

/@arcblock/react-hooks/

    Package Sidebar

    Install

    npm i @arcblock/react-hooks

    Weekly Downloads

    1,001

    Version

    2.9.79

    License

    Apache-2.0

    Unpacked Size

    11.5 kB

    Total Files

    11

    Last publish

    Collaborators

    • wangshijun
    • polunzh
    • mave99a
    • gxw