1.0.6 • Published 8 years ago

react-pagehead v1.0.6

Weekly downloads
10
License
ISC
Repository
github
Last release
8 years ago

A higher order component for managing document head content

Install

npm i -S react-pagehead

Example

import React from 'react';
import PageHead from 'react-pagehead';

const METATAGS = {
    title: "My Page Title",
    meta: {
        name: "description",
        content: "My injected meta description content"
    }
};


class MyComponent extends React.Component {
    render () {
        ...
    }
}

export default PageHead(MyComponent, METATAGS);
1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago