Shows beta button
This commit is contained in:
parent
e8ec7f3334
commit
d88bc5aea8
|
@ -1,6 +1,6 @@
|
|||
import BDV2 from "../modules/v2";
|
||||
|
||||
// import SettingsTitle from "./settingsTitle";
|
||||
import SettingsTitle from "./settingsTitle";
|
||||
import SettingsGroup from "./settingsGroup";
|
||||
|
||||
export default class V2C_SectionedSettingsPanel extends BDV2.reactComponent {
|
||||
|
@ -12,10 +12,10 @@ export default class V2C_SectionedSettingsPanel extends BDV2.reactComponent {
|
|||
render() {
|
||||
return BDV2.react.createElement(
|
||||
"div", {className: "contentColumn-2hrIYH contentColumnDefault-1VQkGM content-column default"},
|
||||
// BDV2.react.createElement("div", {className: "ui-flex ui-section-panel-title"},
|
||||
// BDV2.react.createElement(SettingsTitle, {text: this.props.title}),
|
||||
// this.props.button && BDV2.react.createElement("button", {key: "title-button", className: "bd-pfbtn", onClick: this.props.button.onClick}, this.props.button.title)
|
||||
// ),
|
||||
BDV2.react.createElement("div", {className: "ui-flex ui-section-panel-title"},
|
||||
BDV2.react.createElement(SettingsTitle, {text: this.props.title}),
|
||||
this.props.button && BDV2.react.createElement("button", {key: "title-button", className: "bd-pfbtn", onClick: this.props.button.onClick}, this.props.button.title)
|
||||
),
|
||||
this.props.sections.map(section => {
|
||||
return BDV2.react.createElement(SettingsGroup, Object.assign({}, section, {onChange: this.props.onChange}));
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue