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