| 1 |
/** |
| 2 |
* WordPress dependencies |
| 3 |
*/ |
| 4 |
import { __ } from '@wordpress/i18n'; |
| 5 |
import { PluginSidebar, PluginSidebarMoreMenuItem } from '@wordpress/edit-post'; |
| 6 |
import { Component, Fragment } from '@wordpress/element'; |
| 7 |
|
| 8 |
/** |
| 9 |
* Internal dependencies |
| 10 |
*/ |
| 11 |
import HelpPanel from '../../Post/Panel/Help'; |
| 12 |
import InspectPanel from '../../Post/Panel/Inspect'; |
| 13 |
import StatusPanel from '../../Post/Panel/Status'; |
| 14 |
|
| 15 |
export default class Sidebar extends Component { |
| 16 |
render() { |
| 17 |
return ( |
| 18 |
<Fragment> |
| 19 |
<PluginSidebarMoreMenuItem target="plugin-sidebar"> |
| 20 |
{ __( 'BeyondWords', 'speechkit' ) } |
| 21 |
</PluginSidebarMoreMenuItem> |
| 22 |
<PluginSidebar |
| 23 |
name="plugin-sidebar" |
| 24 |
title={ __( 'BeyondWords', 'speechkit' ) } |
| 25 |
> |
| 26 |
<StatusPanel /> |
| 27 |
<HelpPanel /> |
| 28 |
<InspectPanel /> |
| 29 |
</PluginSidebar> |
| 30 |
</Fragment> |
| 31 |
); |
| 32 |
} |
| 33 |
} |
| 34 |
|