"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Loader = exports.LoaderSpinner = void 0;
const tslib_1 = require("tslib");
const React = tslib_1.__importStar(require("react"));
const LoaderSpinner = (props) => {
    return React.createElement("div", { style: props.style, className: "ab-Loader__Spinner" });
};
exports.LoaderSpinner = LoaderSpinner;
const Loader = (props) => {
    return (React.createElement("div", { style: props.style, className: "ab-Loader" },
        React.createElement(exports.LoaderSpinner, null),
        React.createElement("span", { className: "ab-Loader__text" }, props.children)));
};
exports.Loader = Loader;
