formatted
This commit is contained in:
@@ -1,11 +1,7 @@
|
||||
import { parseFromValuesOrFunc } from "@/core/utils/utils";
|
||||
import { Collapse, LinearProgress } from "@mui/material";
|
||||
|
||||
const DataTable_LinearProgressBar = ({
|
||||
isTopToolbar,
|
||||
table,
|
||||
...rest
|
||||
}) => {
|
||||
const DataTable_LinearProgressBar = ({ isTopToolbar, table, ...rest }) => {
|
||||
const {
|
||||
getState,
|
||||
options: { muiLinearProgressProps },
|
||||
@@ -26,19 +22,19 @@ const DataTable_LinearProgressBar = ({
|
||||
mountOnEnter
|
||||
sx={{
|
||||
bottom: isTopToolbar ? 0 : undefined,
|
||||
position: 'absolute',
|
||||
position: "absolute",
|
||||
top: !isTopToolbar ? 0 : undefined,
|
||||
width: '100%',
|
||||
width: "100%",
|
||||
}}
|
||||
unmountOnExit
|
||||
>
|
||||
<LinearProgress
|
||||
aria-busy="true"
|
||||
aria-label="Loading"
|
||||
sx={{ position: 'relative' }}
|
||||
sx={{ position: "relative" }}
|
||||
{...linearProgressProps}
|
||||
/>
|
||||
</Collapse>
|
||||
);
|
||||
}
|
||||
export default DataTable_LinearProgressBar
|
||||
};
|
||||
export default DataTable_LinearProgressBar;
|
||||
|
||||
Reference in New Issue
Block a user