@mopinion/survey
Version:
Collect customer feedback with the Mopinion survey library
20 lines (19 loc) • 502 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = Icon;
var _preact = require("preact");
var _form = require("../../form");
var _utils = require("../../../utils");
function Icon(_ref) {
var icon = _ref.icon,
_ref$alt = _ref.alt,
alt = _ref$alt === void 0 ? 'icon' : _ref$alt;
return (0, _preact.h)(_form.SvgIcon, {
className: (0, _utils.makeClassName)('chat-icon'),
icon: icon,
alt: alt
});
}
//# sourceMappingURL=Icon.js.map