@bro95-hooks/use-title

1.0.0 • Public • Published

@kimbro95-hooks/use-title

📌React Hook to update your document's title.

Installation

npm

npm i @kimbro95-hooks/use-title

Usage

import React from "react";
import useTitle from "@kimbro95-hooks/use-title";

function App() {
  useTitle("Welcome");
  return <h1>Welcome</h1>;
}

Arguments

Argument Type Description Required
title string The title you want to use on your document yes

Readme

Keywords

Package Sidebar

Install

npm i @bro95-hooks/use-title

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

1.62 kB

Total Files

4

Last publish

Collaborators

  • kimbro95