UNPKG

opt-table

Version:

A Responsive and Customizable Rich Table

11 lines 647 B
import { LinearProgress, TableCell, TableRow } from "@mui/material"; import React from "react"; import { motion } from "framer-motion"; const TableLoading = ({ loading }) => { return (React.createElement(TableRow, null, React.createElement(TableCell, { style: { margin: 0, padding: 0 }, colSpan: 12 }, React.createElement(motion.div, { style: { width: "100%", overflow: "hidden" }, initial: { height: 0 }, animate: { height: !!loading ? "fit-content" : 0, } }, React.createElement(LinearProgress, { color: "primary" }))))); }; export default TableLoading; //# sourceMappingURL=table_loading.js.map