import { forwardRef as g, createElement as e } from "react";
import k from "./defaultAttributes.mjs";
/**
 * @license @tabler/icons-react v3.34.0 - MIT
 *
 * This source code is licensed under the MIT license.
 * See the LICENSE file in the root directory of this source tree.
 */
const C = (r, l, m, n) => {
  const o = g(
    ({ color: a = "currentColor", size: i = 24, stroke: f = 2, title: s, className: c, children: t, ...p }, d) => e(
      "svg",
      {
        ref: d,
        ...k[r],
        width: i,
        height: i,
        className: ["tabler-icon", `tabler-icon-${l}`, c].join(" "),
        ...r === "filled" ? {
          fill: a
        } : {
          strokeWidth: f,
          stroke: a
        },
        ...p
      },
      [
        s && e("title", { key: "svg-title" }, s),
        ...n.map(([u, b]) => e(u, b)),
        ...Array.isArray(t) ? t : [t]
      ]
    )
  );
  return o.displayName = `${m}`, o;
};
export {
  C as default
};
//# sourceMappingURL=createReactComponent.mjs.map
