This commit is contained in:
Jori Lallo
2017-11-19 18:05:35 -08:00
parent b4f7d9f61d
commit 116149c9f8
4 changed files with 17 additions and 45 deletions

View File

@@ -1,32 +0,0 @@
// @flow
import React from 'react';
import { observer } from 'mobx-react';
import CenteredContent from 'components/CenteredContent';
import Editor from 'components/Editor';
import PageTitle from 'components/PageTitle';
type Props = {
title: string,
content: string,
};
const Flatpage = observer((props: Props) => {
const { title, content } = props;
return (
<CenteredContent>
<PageTitle title={title} />
<Editor
text={content}
onChange={() => {}}
onSave={() => {}}
onCancel={() => {}}
onImageUploadStart={() => {}}
onImageUploadStop={() => {}}
readOnly
/>
</CenteredContent>
);
});
export default Flatpage;

View File

@@ -1,3 +0,0 @@
// @flow
import Flatpage from './Flatpage';
export default Flatpage;