useDocumentTitle

Custom hook that sets the document title.

Usage

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