2017-06-29 12:54:02 -06:00
|
|
|
import * as React from "react";
|
|
|
|
import { Row, Col } from "../../../ui/index";
|
2019-04-02 13:59:37 -06:00
|
|
|
import { t } from "../../../i18next_wrapper";
|
2020-03-13 15:06:40 -06:00
|
|
|
import { DevSettings } from "../../../account/dev/dev_support";
|
2017-06-29 12:54:02 -06:00
|
|
|
|
2020-03-13 15:06:40 -06:00
|
|
|
export function SpacePanelHeader() {
|
|
|
|
const newFormat = DevSettings.futureFeaturesEnabled();
|
|
|
|
const width = newFormat ? 4 : 2;
|
|
|
|
const offset = newFormat ? 0 : 6;
|
|
|
|
return <div className="label-headings">
|
|
|
|
<Row>
|
|
|
|
<Col xs={width} xsOffset={offset} className={"centered-button-div"}>
|
|
|
|
<label>
|
|
|
|
{t("X AXIS")}
|
|
|
|
</label>
|
|
|
|
</Col>
|
|
|
|
<Col xs={width} className={"centered-button-div"}>
|
|
|
|
<label>
|
|
|
|
{t("Y AXIS")}
|
|
|
|
</label>
|
|
|
|
</Col>
|
|
|
|
<Col xs={width} className={"centered-button-div"}>
|
|
|
|
<label>
|
|
|
|
{t("Z AXIS")}
|
|
|
|
</label>
|
|
|
|
</Col>
|
|
|
|
</Row>
|
|
|
|
</div>;
|
2017-06-29 12:54:02 -06:00
|
|
|
}
|