UNPKG

@kiwicom/orbit-components

Version:

<div align="center"> <a href="https://orbit.kiwi" target="_blank"> <img alt="orbit-components" src="https://orbit.kiwi/wp-content/uploads/2018/08/orbit-components.png" srcset="https://orbit.kiwi/wp-content/uploads/2018/08/orbit-components@2x.png 2x"

40 lines (31 loc) 1.33 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = Cocktail; var _react = require("react"); var React = _interopRequireWildcard(_react); var _Icon = require("../Icon"); var _Icon2 = _interopRequireDefault(_Icon); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } /* eslint-disable */ function Cocktail(props) { var color = props.color, size = props.size, customColor = props.customColor, className = props.className, dataTest = props.dataTest; return React.createElement( _Icon2.default, { viewBox: "0 0 24 24", size: size, color: color, customColor: customColor, className: className, dataTest: dataTest }, React.createElement("path", { d: "M18 2c2.205 0 4 1.794 4 4 0 1.858-1.279 3.41-3 3.858V6h-5c0-2.206 1.795-4 4-4zm-1 5a1 1 0 0 1 .707 1.706L11 15.414V20h3v2H6v-2h3v-4.586L2.293 8.707A1.002 1.002 0 0 1 3 7h14zM5.586 6l-1-1H2V3h3c.266 0 .519.106.707.293L8.414 6H5.586z" }) ); }