Naively Programmable Module

    @ej-hooks/use-title

    1.0.1 • Public • Published

    @ej-hooks/use-title

    React Hook to update your document's title.

    Installation

    yarn

    yarn add @ej-hooks/use-title

    npm

    npm i @ej-hooks/use-title

    Usage

    import React from 'react';
    import useTitle from '@ej-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

    Install

    npm i @ej-hooks/use-title

    DownloadsWeekly Downloads

    3

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    1.62 kB

    Total Files

    4

    Last publish

    Collaborators

    • eunjinfizz