@razorpay/blade
Version:
The Design System that powers Razorpay
50 lines (47 loc) • 3.21 kB
JavaScript
import _defineProperty from '@babel/runtime/helpers/defineProperty';
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
import '../_Svg/index.js';
import '../useIconProps/index.js';
import { jsxs, jsx } from 'react/jsx-runtime';
import useIconProps from '../useIconProps/useIconProps.js';
import Svg from '../_Svg/Svg/Svg.web.js';
import Path from '../_Svg/Path/Path.web.js';
var _excluded = ["size", "color"];
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
var CodeSnippetIcon = function CodeSnippetIcon(_ref) {
var size = _ref.size,
color = _ref.color,
styledProps = _objectWithoutProperties(_ref, _excluded);
var _useIconProps = useIconProps({
size: size,
color: color
}),
height = _useIconProps.height,
width = _useIconProps.width,
iconColor = _useIconProps.iconColor;
return /*#__PURE__*/jsxs(Svg, _objectSpread(_objectSpread({}, styledProps), {}, {
width: width,
height: height,
viewBox: "0 0 24 24",
fill: "none",
children: [/*#__PURE__*/jsx(Path, {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M6.83211 2.29289C7.22263 2.68342 7.22263 3.31658 6.83211 3.70711L4.53921 6L6.83211 8.29289C7.22263 8.68342 7.22263 9.31658 6.83211 9.70711C6.44158 10.0976 5.80842 10.0976 5.41789 9.70711L2.41789 6.70711C2.02737 6.31658 2.02737 5.68342 2.41789 5.29289L5.41789 2.29289C5.80842 1.90237 6.44158 1.90237 6.83211 2.29289Z",
fill: iconColor
}), /*#__PURE__*/jsx(Path, {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M9.91789 2.29289C10.3084 1.90237 10.9416 1.90237 11.3321 2.29289L14.3321 5.29289C14.7226 5.68342 14.7226 6.31658 14.3321 6.70711L11.3321 9.70711C10.9416 10.0976 10.3084 10.0976 9.91789 9.70711C9.52737 9.31658 9.52737 8.68342 9.91789 8.29289L12.2108 6L9.91789 3.70711C9.52737 3.31658 9.52737 2.68342 9.91789 2.29289Z",
fill: iconColor
}), /*#__PURE__*/jsx(Path, {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M16.375 4.5C16.375 3.94772 16.8227 3.5 17.375 3.5H19.25C19.7141 3.5 20.1592 3.68437 20.4874 4.01256C20.8156 4.34075 21 4.78587 21 5.25V18.75C21 19.2141 20.8156 19.6592 20.4874 19.9874C20.1592 20.3156 19.7141 20.5 19.25 20.5H5.75C5.28587 20.5 4.84075 20.3156 4.51256 19.9874C4.18437 19.6592 4 19.2141 4 18.75V13.125C4 12.5727 4.44772 12.125 5 12.125C5.55228 12.125 6 12.5727 6 13.125V18.5H19V5.5H17.375C16.8227 5.5 16.375 5.05228 16.375 4.5Z",
fill: iconColor
})]
}));
};
export { CodeSnippetIcon as default };
//# sourceMappingURL=CodeSnippetIcon.js.map