Most using hooks for our team. IN DEVELOPMENT
npm install --save oceaners-hooks@next
import React from 'react';
import { useBoolean, useFocus } from 'oceaners-hooks';
export default function Home() {
const [isFocused, bind] = useFocus();
console.log({ isFocused });
return (
<div>
<button {...bind}>toggle</button>
</div>
);
}
MIT © fers4t