mirror of
https://github.com/bunny-lab-io/Borealis.git
synced 2026-02-04 19:20:31 -07:00
38 lines
1.9 KiB
JavaScript
38 lines
1.9 KiB
JavaScript
'use strict';
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
|
|
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
|
|
var _react = require('react');
|
|
|
|
var _react2 = _interopRequireDefault(_react);
|
|
|
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
|
|
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
|
|
|
var DEFAULT_SIZE = 24;
|
|
|
|
exports.default = function (_ref) {
|
|
var _ref$fill = _ref.fill,
|
|
fill = _ref$fill === undefined ? 'currentColor' : _ref$fill,
|
|
_ref$width = _ref.width,
|
|
width = _ref$width === undefined ? DEFAULT_SIZE : _ref$width,
|
|
_ref$height = _ref.height,
|
|
height = _ref$height === undefined ? DEFAULT_SIZE : _ref$height,
|
|
_ref$style = _ref.style,
|
|
style = _ref$style === undefined ? {} : _ref$style,
|
|
props = _objectWithoutProperties(_ref, ['fill', 'width', 'height', 'style']);
|
|
|
|
return _react2.default.createElement(
|
|
'svg',
|
|
_extends({
|
|
viewBox: '0 0 ' + DEFAULT_SIZE + ' ' + DEFAULT_SIZE,
|
|
style: _extends({ fill: fill, width: width, height: height }, style)
|
|
}, props),
|
|
_react2.default.createElement('path', { d: 'M2,5.27L3.28,4L20,20.72L18.73,22L13.38,16.65C12.55,18.35 10.93,19.59 9,19.92V22H7V19.92C4.16,19.44 2,16.97 2,14H4C4,16.21 5.79,18 8,18C9.82,18 11.36,16.78 11.84,15.11L10,13.27V14C10,15.1 9.1,16 8,16C6.9,16 6,15.1 6,14V9.27L2,5.27M21.41,9.41L17.17,13.66L18.18,10H14C12.9,10 12,9.1 12,8V4C12,2.9 12.9,2 14,2H20C21.1,2 22,2.9 22,4V8C22,8.55 21.78,9.05 21.41,9.41Z' })
|
|
);
|
|
}; |