useDocumentTitle

Custom hook that sets the document title.

Usage

import { useDocumentTitle } from "@tealess/hooks";
export default function Component() {
useDocumentTitle("foo bar");
}