mirror of
https://github.com/bunny-lab-io/Borealis.git
synced 2026-02-04 21:00:30 -07:00
38 lines
2.0 KiB
JavaScript
38 lines
2.0 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: 'M4,4H20C21.1,4 22,4.9 22,6V18C22,19.1 21.1,20 20,20H4C2.9,20 2,19.1 2,18V6C2,4.9 2.9,4 4,4M4,6V18H20V6H4M5.5,7.5H11V9.17C10.15,9.47 9.47,10.15 9.17,11H5.5V7.5M18.5,7.5V11H14.83C14.53,10.15 13.85,9.47 13,9.17V7.5H18.5M18.5,16.5H13V14.83C13.85,14.53 14.53,13.85 14.83,13H18.5V16.5M5.5,16.5V13H9.17C9.47,13.85 10.15,14.53 11,14.83V16.5H5.5M12,10.5C12.83,10.5 13.5,11.17 13.5,12C13.5,12.83 12.83,13.5 12,13.5C11.17,13.5 10.5,12.83 10.5,12C10.5,11.17 11.17,10.5 12,10.5Z' })
|
|
);
|
|
}; |