@feca-hooks/use-title

1.0.1 • Public • Published

@feca-hooks/use-title

React Hook to update your document's title.


How to Install

yarn

yarn add @feca-hooks/use-title

npm

npm i @feca-hooks/use-title


Usage

Code

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

function App() {
  useTitle("This is Title");
  return <h1>Hello!</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 @feca-hooks/use-title

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

1.63 kB

Total Files

4

Last publish

Collaborators

  • pshtony1