import { jsx } from 'react/jsx-runtime';
import { forwardRef } from 'react';
import { c as cn } from './utils-DdHUxIdC.js';
import { Spinner as Spinner$1 } from './primitives/Spinner.js';

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

const Spinner = forwardRef(({ size = "default", className, ...otherProps }, ref) => (jsx(Spinner$1, { ref: ref, className: cn(SIZE_CONFIG[size], className), ...otherProps })));
Spinner.displayName = "Spinner";

export { Spinner as S };
//# sourceMappingURL=Spinner-C8HSac-2.js.map
