@ib-hooks/use-title

1.0.2 • Public • Published

@ib-hooks/use-title

React Hook to update your document's title.

Installation

yarn

yarn add @ib-hooks/use-title

npm

npm i @ib-hooks/use-title

Usage

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

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

Arguments

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

Readme

Keywords

Package Sidebar

Install

npm i @ib-hooks/use-title

Weekly Downloads

4

Version

1.0.2

License

MIT

Unpacked Size

1.6 kB

Total Files

4

Last publish

Collaborators

  • inwookie