Add simple components for Sidebar, Header and Form Title

[MAILPOET-2450]
This commit is contained in:
Rostislav Wolny
2019-10-16 17:37:31 +02:00
committed by Jack Kitterhing
parent 7a960ff16e
commit aa4681e6b6
8 changed files with 176 additions and 5 deletions

View File

@ -0,0 +1,22 @@
import React from 'react';
import { IconButton } from '@wordpress/components';
export default () => (
<div className="edit-post-header">
<div className="edit-post-header-toolbar" />
<div className="edit-post-header__settings">
<button
type="button"
className="components-button editor-post-publish-panel__toggle is-button is-primary"
>
Save
</button>
<IconButton
icon="admin-generic"
label="Settings"
onClick={() => null}
isToggled
/>
</div>
</div>
);