Git Product home page Git Product logo

the-head's Introduction

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 {}
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

the-head's People

Contributors

okunishinishi avatar

Watchers

Takahiro Oohata avatar s-oku avatar rg_nakahata  avatar  avatar James Cloos avatar Hidetoshi Hirokawa avatar RG-CI avatar Haruka avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.