UNPKG

@icons/material

Version:
38 lines (29 loc) 1.95 kB
'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: 'M14,10C12.34,10 11,11.34 11,13C11,14.66 12.34,16 14,16C15.66,16 17,14.66 17,13C17,11.34 15.66,10 14,10M14,18C11.24,18 9,15.76 9,13C9,10.24 11.24,8 14,8C16.76,8 19,10.24 19,13C19,15.76 16.76,18 14,18M14,2C15.1,2 16,2.9 16,4C16,5.1 15.1,6 14,6C12.9,6 12,5.1 12,4C12,2.9 12.9,2 14,2M19,0H9C7.9,0 7,0.9 7,2V18C7,19.1 7.9,20 9,20H19C20.1,20 21,19.1 21,18V2C21,0.9 20.1,0 19,0M5,22H17V24H5C3.9,24 3,23.1 3,22V4H5' }) ); };