react-bytesize-icons
Version:
Bytesize Icons as React Components.
35 lines (33 loc) • 1.32 kB
JavaScript
import React from 'react';
var Mobile = function Mobile(_ref) {
var _ref$id = _ref.id,
id = _ref$id === void 0 ? "i-mobile" : _ref$id,
className = _ref.className,
_ref$width = _ref.width,
width = _ref$width === void 0 ? 32 : _ref$width,
_ref$height = _ref.height,
height = _ref$height === void 0 ? 32 : _ref$height,
_ref$strokeWidth = _ref.strokeWidth,
strokeWidth = _ref$strokeWidth === void 0 ? '6.25%' : _ref$strokeWidth,
_ref$strokeLinejoin = _ref.strokeLinejoin,
strokeLinejoin = _ref$strokeLinejoin === void 0 ? 'round' : _ref$strokeLinejoin,
_ref$strokeLinecap = _ref.strokeLinecap,
strokeLinecap = _ref$strokeLinecap === void 0 ? 'round' : _ref$strokeLinecap,
_ref$color = _ref.color,
color = _ref$color === void 0 ? 'currentcolor' : _ref$color;
return React.createElement("svg", {
className: className,
id: id,
viewBox: "0 0 32 32",
width: width,
height: height,
fill: "none",
stroke: color,
strokeLinecap: strokeLinecap,
strokeLinejoin: strokeLinejoin,
strokeWidth: strokeWidth
}, React.createElement("path", {
d: "M21 2 L11 2 C10 2 9 3 9 4 L9 28 C9 29 10 30 11 30 L21 30 C22 30 23 29 23 28 L23 4 C23 3 22 2 21 2 Z M9 5 L23 5 M9 27 L23 27"
}));
};
export default Mobile;