Add simple components for Sidebar, Header and Form Title
[MAILPOET-2450]
This commit is contained in:
committed by
Jack Kitterhing
parent
7a960ff16e
commit
aa4681e6b6
22
assets/js/src/form_editor/components/header.jsx
Normal file
22
assets/js/src/form_editor/components/header.jsx
Normal 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>
|
||||
);
|
Reference in New Issue
Block a user