1.0.3 • Published 2 years ago
sk-use-toggle v1.0.3
useToggle
toggle hook
const [show,toggle] = UseToggle()
// can use custom name for each of them
//show is boolean
//toggle is function
import
Time ago function
import { UseToggle } from 'sk-use-toggle/src';