dynamic-title-react
v1.2.1
Published
![npm version](https://img.shields.io/npm/v/dynamic-title-react.svg) ![npm downloads](https://img.shields.io/npm/dm/dynamic-title-react.svg)
Downloads
11
Readme
dynamic-title-react
The simplest way to use dynamic title in react.
Installation
You can install the package using npm:
npm i dynamic-title-react
Importing and using it
import useDocumentTitle from "dynamic-title-react";
const Home = () => {
useDocumentTitle("Home Page");
return <div>This is the home page</div>;
};
export default Home;