"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PHXSpinner = void 0;
const tslib_1 = require("tslib");
const react_1 = tslib_1.__importDefault(require("react"));
const types_1 = require("../types");
const PHXSpinner = ({ color = 'indigo', className = 'w-5 h-5' }) => {
    const colorMaker = (0, types_1.classNames)(color === 'indigo' && 'text-indigo-600', color === 'gray' && 'text-gray-600');
    return (react_1.default.createElement("div", { className: `animate-spin inline-block ${className} border-[3px] border-current border-t-transparent ${colorMaker} rounded-full`, role: 'status', "aria-label": 'loading1' }));
};
exports.PHXSpinner = PHXSpinner;
//# sourceMappingURL=Spinner.js.map