UNPKG

lml-main

Version:

This is now a mono repository published into many standalone packages.

12 lines 559 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const React = require("react"); const cosmoui_1 = require("cosmoui"); class HoverableIcon extends cosmoui_1.HoverableComponent { render() { return (React.createElement("span", { style: { lineHeight: 0 }, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave }, React.createElement(cosmoui_1.Icon, Object.assign({ primary: this.state.hover }, this.props)))); } } exports.HoverableIcon = HoverableIcon; //# sourceMappingURL=hoverable-icon.js.map