"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.createMultiPathSVG = createMultiPathSVG;
exports.createSinglePathSVG = createSinglePathSVG;
var _react = require("react");
var _reactNativeSvg = _interopRequireWildcard(require("react-native-svg"));
var _common = require("./common.js");
var _jsxRuntime = require("react/jsx-runtime");
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
function createSinglePathSVG({
  path,
  viewBox,
  strokeWidth = 0,
  strokeLinecap = 'butt',
  strokeLinejoin = 'miter'
}) {
  return /*#__PURE__*/(0, _react.forwardRef)(function IconImpl(props, ref) {
    const {
      fill,
      size,
      style,
      gradient,
      ...rest
    } = (0, _common.useCommonSVGProps)(props);
    const hasStroke = strokeWidth > 0;
    return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNativeSvg.default, {
      fill: "none",
      ...rest,
      ref: ref,
      viewBox: viewBox || '0 0 24 24',
      width: size,
      height: size,
      style: [style],
      children: [gradient, /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
        fill: hasStroke ? 'none' : fill,
        stroke: hasStroke ? fill : 'none',
        strokeWidth: strokeWidth,
        strokeLinecap: strokeLinecap,
        strokeLinejoin: strokeLinejoin,
        fillRule: "evenodd",
        clipRule: "evenodd",
        d: path
      })]
    });
  });
}
function createMultiPathSVG({
  paths,
  viewBox
}) {
  return /*#__PURE__*/(0, _react.forwardRef)(function IconImpl(props, ref) {
    const {
      fill,
      size,
      style,
      gradient,
      ...rest
    } = (0, _common.useCommonSVGProps)(props);
    return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNativeSvg.default, {
      fill: "none",
      ...rest,
      ref: ref,
      viewBox: viewBox || '0 0 24 24',
      width: size,
      height: size,
      style: [style],
      children: [gradient, paths.map((path, i) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
        fill: fill,
        fillRule: "evenodd",
        clipRule: "evenodd",
        d: path
      }, i))]
    });
  });
}
//# sourceMappingURL=TEMPLATE.js.map