text: "use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});var _react=require("react"),_react2=_interopRequireDefault(_react),_propTypes=require("prop-types"),_propTypes2=_interopRequireDefault(_propTypes),_classnames=require("classnames"),_classnames2=_interopRequireDefault(_classnames);require("./style.css");var Icon=function(e){var r=e.type,s=e.className,a=e.onClick,t=(0,_classnames2.default)("component-icon-wrap","icon-"+r,s);return _react2.default.createElement("i",{className:t,onClick:a})};Icon.propTypes={type:_propTypes2.default.string.isRequired,className:_propTypes2.default.string,onClick:_propTypes2.default.func},Icon.defaultProps={className:void 0,onClick:function(){}},exports.default=Icon;