@bellawatt/meta-tags

1.0.3 • Public • Published

meta-tags

A nice api for meta tag coverage across a variety of sites and services

NPM JavaScript Style Guide

Install

npm install --save @bellawatt/meta-tags

Usage

import React from 'react'
import Meta from '@bellawatt/meta-tags'

const Example = () => (
  <>
    <Meta>
      <Meta.Title>I am the title</Meta.Title>
      <Meta.Description>
        And I am the description! I can be much longer sometimes
      </Meta.Description>
      <Meta.Image src="/some-great-image.png" />
    </Meta>
  </>
)

Be sure to add react-snap (included in this repo) to your build step if you're using react-router.

License

MIT © @bellawatt

Readme

Keywords

none

Package Sidebar

Install

npm i @bellawatt/meta-tags

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

294 kB

Total Files

6

Last publish

Collaborators

  • bknoles
  • brandonshar