@utiliser/react-hooks
v1.1.1
Published
The collections of hooks for your React app.
Downloads
2
Maintainers
Readme
🧪 Explore
📖 Prerequisite
- Latest - React ^18
🪝 Install
using NPM:
npm install @utiliser/react-hooks
using Yarn:
yarn add @utiliser/react-hooks
💅 Usage
import { useOnline } from '@utiliser/react-hooks'
const App = () => {
const { isOnline } = useOnline()
return <p>{isOnline ? 'Online' : 'Offline'}</p>
}
export default App
✨ Inspired By
🥷 Crafted
📃 License
MIT License © 2022-PRESENT Virak Khun