@bellawatt/meta-tags

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

Usage no npm install needed!

<script type="module">
  import bellawattMetaTags from 'https://cdn.skypack.dev/@bellawatt/meta-tags';
</script>

README

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