@smashing/head
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Head

Manage page head content. Add meta, link, title, style tags to page head.

yarn add @smashing/head

Usage

import {Head} from "@smashing/head"

export const AboutPage = () => (
  <div>
    <Head>
      <title>About us</title>
      <meta property="og:title" content="About us" />
      <link rel="icon" type="image/png" sizes="32x32" href="/favicon.ico" />
    </Head>
  </div>
)

Readme

Keywords

Package Sidebar

Install

npm i @smashing/head

Weekly Downloads

16

Version

1.0.1

License

MIT

Unpacked Size

14.6 kB

Total Files

7

Last publish

Collaborators

  • amroz123
  • hzub
  • idered
  • mkolakowska
  • mzbiejczuk
  • qk