chae_hook

1.0.0 • Public • Published

@chae_hook/use-title

React Hook to update your document's title.

Installation

yarn

yarn i @chae_hook/use-title

npm

npm i @chae_hook/use-title

Usage

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

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

Package Sidebar

Install

npm i chae_hook

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

1.35 kB

Total Files

4

Last publish

Collaborators

  • chaeboss