Skip to content

v2.1.0 - Convenience HeadTag aliases now available

Compare
Choose a tag to compare
@tizmagik tizmagik released this 15 May 19:25
· 64 commits to master since this release

Thanks to @TrySound in #20 we now also export some common aliases for use:

import React from 'react';
import { Title, Style, Meta, Link } from 'react-head';

const App = () => (
   <div className="Home">
      <Title>Title of page</Title>
      <Link rel="canonical" content="http://jeremygayed.com/" />
      <Meta tag="meta" name="example" content="whatever" />
      // ...
  </div>
)