1.0.32 • Published 6 years ago
the-head v1.0.32
the-head
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
1.0.32
6 years ago
1.0.31
6 years ago
1.0.30
6 years ago
1.0.29
6 years ago
1.0.28
6 years ago
1.0.27
6 years ago
1.0.26
6 years ago
1.0.25
6 years ago
1.0.24
6 years ago
1.0.23
6 years ago
1.0.22
6 years ago
1.0.21
6 years ago
1.0.20
6 years ago
1.0.19
6 years ago
1.0.18
6 years ago
1.0.17
6 years ago
1.0.16
6 years ago
1.0.15
6 years ago
1.0.14
6 years ago
1.0.13
6 years ago
1.0.12
6 years ago
1.0.11
6 years ago
1.0.10
6 years ago
1.0.9
7 years ago
1.0.8
7 years ago
1.0.7
7 years ago
1.0.6
7 years ago
1.0.5
7 years ago
1.0.4
7 years ago
1.0.3
7 years ago
1.0.2
7 years ago
1.0.1
7 years ago
1.0.0
7 years ago