19 lines
584 B
JavaScript
19 lines
584 B
JavaScript
import BDV2 from "../modules/v2";
|
|
|
|
import SettingsGroup from "./settingsGroup";
|
|
|
|
export default class V2C_SectionedSettingsPanel extends BDV2.reactComponent {
|
|
|
|
constructor(props) {
|
|
super(props);
|
|
}
|
|
|
|
render() {
|
|
return BDV2.react.createElement(
|
|
"div", {className: "contentColumn-2hrIYH contentColumnDefault-1VQkGM content-column default"},
|
|
this.props.sections.map(section => {
|
|
return BDV2.react.createElement(SettingsGroup, Object.assign({}, section, {onChange: this.props.onChange}));
|
|
})
|
|
);
|
|
}
|
|
} |