blob: 7d313b027d6ad574da62b066363ad2a73143e2de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import React from "react";
import {SettingsState} from "./common.js";
Footer.propTypes = {
settings: React.PropTypes.object.isRequired,
};
export default function Footer({ settings }) {
const mode = settings.mode;
const intercept = settings.intercept;
return (
<footer>
{mode && mode != "regular" ? <span className="label label-success">{mode} mode</span> : null}
{intercept ? <span className="label label-success">Intercept: {intercept}</span> : null}
</footer>
);
}
|