@jnooks/use-title
v1.0.2
Published
React Hook to update your doucment's title
Downloads
5
Readme
@jnooks/use-title
React Hook to update your doucment's title
Installation
npm
npm i @jnooks/use-title
yarn
yarn add @jnooks/use-title
Usage
import useTitle from "@jnooks/use-title"
const App = () => {
useTitle("Welcome JNOOKS");
return (
<div>
<h1>Welcome</h1>
</div>
);
};
Arguments
|Argument|Type|Description|Required| |---|:---:|---|:---:| |title|string|The title you want to use on your document|yes|