spee.ch/client/build/components/ChannelInfoDisplay/index.js

24 lines
797 B
JavaScript
Raw Normal View History

2018-06-01 02:06:00 +02:00
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var ChannelInfoDisplay = function ChannelInfoDisplay(_ref) {
var name = _ref.name,
longId = _ref.longId,
shortId = _ref.shortId;
return _react.default.createElement("div", null, _react.default.createElement("h2", null, "channel name: ", name), _react.default.createElement("p", {
2018-06-09 02:23:11 +02:00
className: 'text--secondary'
2018-06-01 02:06:00 +02:00
}, "full channel id: ", longId), _react.default.createElement("p", {
2018-06-09 02:23:11 +02:00
className: 'text--secondary'
2018-06-01 02:06:00 +02:00
}, "short channel id: ", shortId));
};
var _default = ChannelInfoDisplay;
exports.default = _default;