This package has been deprecated

Author message:

move to @the-/ui-head ( https://github.com/the-labo/the/tree/master/packages/ui-head#readme )

the-head

1.0.32 • Public • Published

the-head

Build Status npm Version JS Standard

Head of the-components

Installation

$ npm install the-head --save

Usage

'use strict'
 
import React from 'react'
import TheHtml from 'the-html'
import TheHead from 'the-head'
 
class ExampleComponent extends React.PureComponent {
  render () {
    return (
      <TheHtml>
        <TheHead id='my-component'
        />
      </TheHtml>
    )
  }
}
 
export default ExampleComponent
 

Components

TheHead

Head of the-components

Props

Name Type Description Default
base string Base url null
baseTarget string Target of base url. '_blank', '_parent', '_self', '_top' or frame name undefined
cdn string CDN URL null
charSet string Char set 'utf-8'
className string null
color string Theme color null
fallbackUnless string Global property for fall back null
globals object Global variables {}
icon string Favicon url null
id string DOM Id null
itemProps object Item props {}
manifest string Path of manifest.json null
metaContents object Met contents {}
metaProperties object Met properties {}
ogpContents object OGP contents {}
title string Document title null
version string Version string 'unknown'
versionKey string Key for version query 'v'
viewPort object View port settings { initialScale: '1.0', width: 'device-width' }

License

This software is released under the MIT License.

Links

Readme

Keywords

Package Sidebar

Install

npm i the-head

Weekly Downloads

4

Version

1.0.32

License

MIT

Unpacked Size

84.3 kB

Total Files

23

Last publish

Collaborators

  • okunishinishi