@lchooks/use-title

1.0.1 • Public • Published

@lchooks/use-title

React Hook to update your document's title.

노마드코더 수업을 들으면서 클론코딩했습니다. Thank you nomadcoders!! https://academy.nomadcoders.co/p/introduction-to-react-hooks

Installation

yarn

yarn add @lchooks/use-title

npm

npm i @lchooks/use-title

Usage

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

function App() {
  useTitle("Thank you nomadcoders!!");
  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 @lchooks/use-title

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

1.83 kB

Total Files

4

Last publish

Collaborators

  • nnagman