@hypernetlabs/web-ui
Version:
Web ui react components for hypernet protocol
18 lines • 1.06 kB
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.GovernanceBasicValueWithTitle = void 0;
const react_1 = __importDefault(require("react"));
const core_1 = require("@material-ui/core");
const GovernanceBasicValueWithTitle_style_1 = require("../../components/GovernanceBasicValueWithTitle/GovernanceBasicValueWithTitle.style");
const GovernanceBasicValueWithTitle = (props) => {
const { title, value } = props;
const classes = (0, GovernanceBasicValueWithTitle_style_1.useStyles)();
return (react_1.default.createElement(core_1.Box, { className: classes.wrapper },
react_1.default.createElement(core_1.Typography, { variant: "body2" }, title),
react_1.default.createElement(core_1.Typography, { variant: "body1" }, value)));
};
exports.GovernanceBasicValueWithTitle = GovernanceBasicValueWithTitle;
//# sourceMappingURL=GovernanceBasicValueWithTitle.js.map