0.0.2 • Published 4 years ago
@rickbrown/use-interval v0.0.2
use-interval
a use interval hook, written by Dan Abramov
Install
npm install --save use-interval
Usage
import React, { Component } from 'react'
import { useMyHook } from 'use-interval'
const Example = () => {
const example = useMyHook()
return (
<div>{example}</div>
)
}
License
MIT © RickBr0wn
This hook is created using create-react-hook.