package.dist.js.helpers.useInterval.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of react-core Show documentation
Show all versions of react-core Show documentation
This library provides a set of common React components for use with the PatternFly reference implementation.
The newest version!
/** This is a custom React hook in a format suggest by Dan Abramov in a blog post here:
* https://overreacted.io/making-setinterval-declarative-with-react-hooks/. It allows setInterval to be used
* declaratively in functional React components.
*/
export declare function useInterval(callback: () => void, delay: number | null): void;
//# sourceMappingURL=useInterval.d.ts.map