kepler.gl
Version:
kepler.gl is a webgl based application to visualize large scale location data in the browser
22 lines (20 loc) • 2.64 kB
JavaScript
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
var _react = _interopRequireDefault(require("react"));
var _reactIntl = require("react-intl");
// SPDX-License-Identifier: MIT
// Copyright contributors to the kepler.gl project
var EnhancedFormattedMessage = function EnhancedFormattedMessage(props) {
return /*#__PURE__*/_react["default"].createElement(_reactIntl.FormattedMessage
// Us id as default Message to prevent error being thrown
, (0, _extends2["default"])({
defaultMessage: props.defaultMessage || props.id
}, props));
};
var _default = exports["default"] = EnhancedFormattedMessage;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJfcmVhY3QiLCJfaW50ZXJvcFJlcXVpcmVEZWZhdWx0IiwicmVxdWlyZSIsIl9yZWFjdEludGwiLCJFbmhhbmNlZEZvcm1hdHRlZE1lc3NhZ2UiLCJwcm9wcyIsImNyZWF0ZUVsZW1lbnQiLCJGb3JtYXR0ZWRNZXNzYWdlIiwiX2V4dGVuZHMyIiwiZGVmYXVsdE1lc3NhZ2UiLCJpZCIsIl9kZWZhdWx0IiwiZXhwb3J0cyJdLCJzb3VyY2VzIjpbIi4uL3NyYy9mb3JtYXR0ZWQtbWVzc2FnZS50c3giXSwic291cmNlc0NvbnRlbnQiOlsiLy8gU1BEWC1MaWNlbnNlLUlkZW50aWZpZXI6IE1JVFxuLy8gQ29weXJpZ2h0IGNvbnRyaWJ1dG9ycyB0byB0aGUga2VwbGVyLmdsIHByb2plY3RcblxuaW1wb3J0IFJlYWN0IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7Rm9ybWF0dGVkTWVzc2FnZX0gZnJvbSAncmVhY3QtaW50bCc7XG5cbnR5cGUgRW5oYW5jZWRGb3JtYXR0ZWRNZXNzYWd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