This repository has been archived on 2022-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
outline/app/components/PageTitle/PageTitle.js
2017-11-09 00:20:22 -08:00

14 lines
241 B
JavaScript

// @flow
import React from 'react';
import { Helmet } from 'react-helmet';
type Props = {
title: string,
};
const PageTitle = ({ title }: Props) => (
<Helmet><title>{`${title} - Outline`}</title></Helmet>
);
export default PageTitle;