18 lines
567 B
JavaScript
18 lines
567 B
JavaScript
import {BDV2} from "modules";
|
|
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, this.props.onChange));
|
|
})
|
|
);
|
|
}
|
|
} |