react-head
Version:
SSR-ready Document Head management for React 16+
15 lines (8 loc) • 409 B
JavaScript
import * as React from 'react';
import HeadTag from './HeadTag';
export const Title = props => <HeadTag tag="title" {...props} />;
export const Style = props => <HeadTag tag="style" {...props} />;
export const Meta = props => <HeadTag tag="meta" {...props} />;
export const Link = props => <HeadTag tag="link" {...props} />;
export { default as HeadProvider } from './HeadProvider';
export { HeadTag };