Blame view

imports/ui/pages/EditDocument.js 359 Bytes
c42d4eeac   themeteorchef   handful of changes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  import React from 'react';
  import DocumentEditor from '../components/DocumentEditor.js';
  
  const EditDocument = ({ doc }) => (
    <div className="EditDocument">
      <h4 className="page-header">Editing "{ doc.title }"</h4>
      <DocumentEditor doc={ doc } />
    </div>
  );
  
  EditDocument.propTypes = {
    doc: React.PropTypes.object,
  };
  
  export default EditDocument;