@scaleflex/icons
Version:
SVG icons as React components
25 lines • 1.7 kB
JavaScript
import _extends from "@babel/runtime/helpers/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
var _excluded = ["color", "size", "ref"];
import React from 'react';
export var Lock = function Lock(_ref) {
var _ref$color = _ref.color,
color = _ref$color === void 0 ? 'currentColor' : _ref$color,
_ref$size = _ref.size,
size = _ref$size === void 0 ? 14 : _ref$size,
ref = _ref.ref,
rest = _objectWithoutProperties(_ref, _excluded);
return /*#__PURE__*/React.createElement("svg", _extends({
"data-icon-name": "Lock",
ref: ref,
width: size,
height: size,
viewBox: "0 0 50 50",
fill: "none",
xmlns: "http://www.w3.org/2000/svg"
}, rest), /*#__PURE__*/React.createElement("path", {
d: "M42.7335 18.75H39.6085V14.5833C39.6085 6.5625 33.046 0 25.0251 0C17.0043 0 10.4418 6.5625 10.4418 14.5833V18.75H7.31681C6.69181 18.75 6.27515 19.1667 6.27515 19.7917V45.8333C6.27515 48.125 8.15015 50 10.4418 50H39.6085C41.9001 50 43.7751 48.125 43.7751 45.8333V19.7917C43.7751 19.1667 43.3585 18.75 42.7335 18.75ZM28.1501 40.5208C28.1501 40.8333 28.046 41.1458 27.9418 41.3542C27.7335 41.5625 27.421 41.6667 27.1085 41.6667H22.9418C22.6293 41.6667 22.3168 41.5625 22.2126 41.3542C22.1085 41.1458 21.9001 40.8333 21.9001 40.5208L22.5251 34.5833C21.4835 33.8542 20.8585 32.6042 20.8585 31.25C20.8585 28.9583 22.7335 27.0833 25.0251 27.0833C27.3168 27.0833 29.1918 28.9583 29.1918 31.25C29.1918 32.6042 28.5668 33.8542 27.5251 34.5833L28.1501 40.5208ZM33.3585 18.75H16.6918V14.5833C16.6918 10 20.4418 6.25 25.0251 6.25C29.6085 6.25 33.3585 10 33.3585 14.5833V18.75Z",
fill: color
}));
};
export default Lock;