use-doc-title
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

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

Package Sidebar

Install

npm i use-doc-title

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

13.4 kB

Total Files

6

Last publish

Collaborators

  • danuel