@jacob-hooks/use-title

1.0.18 • Public • Published

@jacob-hooks/use-title

React Hook to update your document's title.

installation

yarn

yarn add @jacob-hooks/use-title

npm

npm i @jacob-hooks/use-title

Usage

import React from "react";
import useTitle from "@jacob-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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.18
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.18
    1
  • 1.0.0
    0

Package Sidebar

Install

npm i @jacob-hooks/use-title

Weekly Downloads

1

Version

1.0.18

License

MIT

Unpacked Size

3.55 kB

Total Files

6

Last publish

Collaborators

  • jacobko