HeaderAction

This commit is contained in:
Jori Lallo
2016-05-30 11:56:19 -07:00
parent b6ab92dbb1
commit bbecb4cbbb
7 changed files with 41 additions and 10 deletions

View File

@@ -11,7 +11,7 @@ import {
saveDocumentAsync,
} from 'actions/DocumentActions';
import Layout, { Title } from 'components/Layout';
import Layout, { Title, HeaderAction } from 'components/Layout';
import Flex from 'components/Flex';
import MarkdownEditor from 'components/MarkdownEditor';
import AtlasPreviewLoading from 'components/AtlasPreviewLoading';
@@ -63,9 +63,9 @@ class Editor extends Component {
return (
<Layout
actions={(
<Flex direction="row" align="center">
<HeaderAction>
<SaveAction onClick={ this.onSave } />
</Flex>
</HeaderAction>
)}
title={ title }
fixed={ true }