react-document-title-hook
v1.0.5
Published
A tiny React component to update the document title
Downloads
1
Readme
react-document-title-hook
A tiny React component to update the document title.
Install
npm install react-document-title-hookUse Example
import DocumentTitle from 'react-document-title-hook';
function HomePage() {
return (
<>
<DocumentTitle title="Home Page" />
<h1>Welcome to my site</h1>
</>
);
}
