useTitleReact side-effect hook that sets title of the page.
import {useTitle} from 'react-use';
const Demo = () => {
useTitle('Hello world!');
return null;
};
// TODO: implement useTitle function notImplemented(..._args: any[]): any { throw new Error('Not implemented'); } export default notImplemented; export const useTitle = notImplemented;
Tests