'use strict';

var jsxRuntime = require('react/jsx-runtime');
var React = require('react');
var utils = require('./utils-BhM0B89p.js');
var primitives_Spinner = require('./primitives/Spinner.js');

const SIZE_CONFIG = {
  sm: "size-3",
  default: "size-4",
  lg: "size-6",
  xl: "size-8"
};

const Spinner = React.forwardRef(
  ({ size = "default", className, ...otherProps }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
    primitives_Spinner.Spinner,
    {
      ref,
      className: utils.cn(SIZE_CONFIG[size], className),
      ...otherProps
    }
  )
);
Spinner.displayName = "Spinner";

exports.Spinner = Spinner;
//# sourceMappingURL=Spinner-DzNBz8al.js.map
