/* eslint-disable react/no-danger */ import React from 'react'; import PropTypes from 'prop-types'; import DocumentTitle from 'react-document-title'; import { config } from '../config.toml'; const Markdown = ({ route }) => { const post = route.page.data; const repoUrl = 'https://github.com/storybooks/storybook'; const editUrl = `${repoUrl}/tree/master/docs/pages${route.path.replace(/\/$/g, '.md')}`; return (

{post.title}

Edit this page

); }; Markdown.propTypes = { // eslint-disable-next-line route: PropTypes.object, }; export default Markdown;