0.1.0 • Published 5 years ago

use-doc-title v0.1.0

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

use-doc-title

A pretty custom hooks for css variable and react.

  • type-safe!

Install

// npm
npm install --save use-document-title

// yarn
yarn add use-document-title

Usage

import React, { FC } from 'react'
import { useDocumentTitle } from 'use-doc-title'

export const Component: FC = () => {
  const [foo, setFoo] = useDocumentTitle('foo')
}

Lincense

MIT