Commit 57358845 authored by Michael Iseard's avatar Michael Iseard
Browse files

Merge help and advanced tabs

parent d544e089
import {ExportSettingsPanel} from "../Panels/ExportSettingsPanel"
import {ImportSettingsPanel} from "../Panels/ImportSettingsPanel"
import {DebugModePanel} from "../Panels/DebugModePanel"
const {Card, CardDivider} = wp.components
const AdvancedTab = (props) => {
return (
<Card>
<ExportSettingsPanel
settings={props.settings}
/>
<CardDivider/>
<ImportSettingsPanel
updateAll={props.updateAll}
handleInputChange={props.handleInputChange}
/>
<CardDivider/>
<DebugModePanel
settings={props.settings}
updateSetting={props.updateSetting}
/>
</Card>
)
}
export {AdvancedTab}
import {HelpPanel} from "../Panels/HelpPanel"
import {ExportSettingsPanel} from "../Panels/ExportSettingsPanel"
import {ImportSettingsPanel} from "../Panels/ImportSettingsPanel"
import {DebugModePanel} from "../Panels/DebugModePanel"
const {Card} = wp.components
const {Card, CardDivider} = wp.components
const {Fragment} = wp.element
const HelpTab = (props) => {
return (
<Card>
<HelpPanel
updateSetting={props.updateSetting}
/>
</Card>
<Fragment>
<Card>
<HelpPanel
updateSetting={props.updateSetting}
/>
</Card>
<br/>
<Card>
<ExportSettingsPanel
settings={props.settings}
/>
<CardDivider/>
<ImportSettingsPanel
updateAll={props.updateAll}
handleInputChange={props.handleInputChange}
/>
<CardDivider/>
<DebugModePanel
settings={props.settings}
updateSetting={props.updateSetting}
/>
</Card>
</Fragment>
)
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment