From 1067ab3429bb11e2099bc3aec1df5c75732d0cf1 Mon Sep 17 00:00:00 2001 From: Mike Fix Date: Sun, 30 Sep 2018 16:10:23 -0700 Subject: [PATCH] Exports --- components/Editor.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/components/Editor.js b/components/Editor.js index b5ebd09..45f9dfa 100644 --- a/components/Editor.js +++ b/components/Editor.js @@ -16,6 +16,7 @@ import Settings from './Settings' import Toolbar from './Toolbar' import Overlay from './Overlay' import Carbon from './Carbon' +import ExportButton from './ExportButton' import { THEMES, THEMES_HASH, @@ -37,8 +38,9 @@ import { getState, escapeHtml, unescapeHtml } from '../lib/util' const saveButtonOptions = { button: true, color: '#c198fb', - selected: { id: 'SAVE_IMAGE', name: 'Save Image' }, - list: ['png', 'svg', 'open ↗'].map(id => ({ id, name: id.toUpperCase() })) + selected: { id: 'SAVE_IMAGE', name: 'Export Image' }, + list: ['png', 'svg', 'copy embed', 'open ↗'].map(id => ({ id, name: id.toUpperCase() })), + itemWrapper: props => } class Editor extends React.Component {