@maherunlocker/custom-react-table
Version:
dynamic table based on react table v7
19 lines • 2.18 kB
JavaScript
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const jsx_runtime_1 = require("react/jsx-runtime");
const styled_components_1 = __importDefault(require("styled-components"));
const StyledLoading = (0, styled_components_1.default)('div') `
display: flex !important;
flex-direction: row !important;
margin-top: 20% !important;
justify-content: center !important;
z-index: 1050 !important; ;
`;
function LoadingDataAnimation() {
return ((0, jsx_runtime_1.jsxs)(StyledLoading, { children: [(0, jsx_runtime_1.jsx)("div", Object.assign({ className: "spinner-grow text-primary", role: "status" }, { children: (0, jsx_runtime_1.jsx)("span", { className: "sr-only" }) })), (0, jsx_runtime_1.jsx)("div", Object.assign({ className: "spinner-grow text-secondary", role: "status" }, { children: (0, jsx_runtime_1.jsx)("span", { className: "sr-only" }) })), (0, jsx_runtime_1.jsx)("div", Object.assign({ className: "spinner-grow text-success", role: "status" }, { children: (0, jsx_runtime_1.jsx)("span", { className: "sr-only" }) })), (0, jsx_runtime_1.jsx)("div", Object.assign({ className: "spinner-grow text-danger", role: "status" }, { children: (0, jsx_runtime_1.jsx)("span", { className: "sr-only" }) })), (0, jsx_runtime_1.jsx)("div", Object.assign({ className: "spinner-grow text-warning", role: "status" }, { children: (0, jsx_runtime_1.jsx)("span", { className: "sr-only" }) })), (0, jsx_runtime_1.jsx)("div", Object.assign({ className: "spinner-grow text-info", role: "status" }, { children: (0, jsx_runtime_1.jsx)("span", { className: "sr-only" }) })), (0, jsx_runtime_1.jsx)("div", Object.assign({ className: "spinner-grow text-light", role: "status" }, { children: (0, jsx_runtime_1.jsx)("span", { className: "sr-only" }) })), (0, jsx_runtime_1.jsx)("div", Object.assign({ className: "spinner-grow text-dark", role: "status" }, { children: (0, jsx_runtime_1.jsx)("span", { className: "sr-only" }) }))] }));
}
exports.default = LoadingDataAnimation;
//# sourceMappingURL=index.js.map