"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DataTableLoader = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const icons_1 = require("@chakra-ui/icons");
const react_1 = require("@chakra-ui/react");
const DataTableLoader = ({ isLoading, refetch }) => ((0, jsx_runtime_1.jsx)(react_1.IconButton, { size: "sm", "aria-label": "Loading", icon: (0, jsx_runtime_1.jsx)(icons_1.RepeatIcon, {}), isLoading: isLoading, onClick: refetch, position: "absolute", top: "5px", right: "5px", rounded: "lg" }));
exports.DataTableLoader = DataTableLoader;
//# sourceMappingURL=DataTableLoader.js.map