react-metamorph

1.0.0 • Public • Published

react-metamorph

Introduction

This package aims to save time dynamically rendering metatags that seem redundant, such as those by Open Graph and Twitter.

Installation

npm i react-metamorph -S

Usage

import React, { Component } from 'react';
import { Metamorph } from 'react-metamorph';
 
class MyPage extends Component {
  render() {
    return <Metamorph title="Hello World!"
      description="Welcome to my page!"
      keywords=["My page", 'Hello World']
      image="hello.jpg" />
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i react-metamorph

Weekly Downloads

9

Version

1.0.0

License

MIT

Unpacked Size

4.87 kB

Total Files

4

Last publish

Collaborators

  • dchan3