"use strict";

import { forwardRef } from 'react';
import Svg, { Path } from 'react-native-svg';
import { useCommonSVGProps } from "./common.js";
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
export function createSinglePathSVG({
  path,
  viewBox,
  strokeWidth = 0,
  strokeLinecap = 'butt',
  strokeLinejoin = 'miter'
}) {
  return /*#__PURE__*/forwardRef(function IconImpl(props, ref) {
    const {
      fill,
      size,
      style,
      gradient,
      ...rest
    } = useCommonSVGProps(props);
    const hasStroke = strokeWidth > 0;
    return /*#__PURE__*/_jsxs(Svg, {
      fill: "none",
      ...rest,
      ref: ref,
      viewBox: viewBox || '0 0 24 24',
      width: size,
      height: size,
      style: [style],
      children: [gradient, /*#__PURE__*/_jsx(Path, {
        fill: hasStroke ? 'none' : fill,
        stroke: hasStroke ? fill : 'none',
        strokeWidth: strokeWidth,
        strokeLinecap: strokeLinecap,
        strokeLinejoin: strokeLinejoin,
        fillRule: "evenodd",
        clipRule: "evenodd",
        d: path
      })]
    });
  });
}
export function createMultiPathSVG({
  paths,
  viewBox
}) {
  return /*#__PURE__*/forwardRef(function IconImpl(props, ref) {
    const {
      fill,
      size,
      style,
      gradient,
      ...rest
    } = useCommonSVGProps(props);
    return /*#__PURE__*/_jsxs(Svg, {
      fill: "none",
      ...rest,
      ref: ref,
      viewBox: viewBox || '0 0 24 24',
      width: size,
      height: size,
      style: [style],
      children: [gradient, paths.map((path, i) => /*#__PURE__*/_jsx(Path, {
        fill: fill,
        fillRule: "evenodd",
        clipRule: "evenodd",
        d: path
      }, i))]
    });
  });
}
//# sourceMappingURL=TEMPLATE.js.map