@arcblock/react-hooks
v2.10.47 react arcblock component
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
);
npm i @arcblock/react-hooks
Metadata
- Apache-2.0
- Whatever
- wangshijun
- released 10/16/2024