@arcblock/react-hooks

2.9.76 • 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
);

Package Sidebar

Install

npm i @arcblock/react-hooks

Weekly Downloads

1,150

Version

2.9.76

License

Apache-2.0

Unpacked Size

11.5 kB

Total Files

11

Last publish

Collaborators

  • wangshijun
  • polunzh
  • mave99a
  • gxw