Skip to content

Commit

Permalink
Replaced AntdTable loader with NeetoUI Spinner
Browse files Browse the repository at this point in the history
  • Loading branch information
nitinprojects committed Sep 13, 2024
1 parent f4c0337 commit 21cd696
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/Table/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ import {
} from "./utils";

import Button from "../Button";
import Spinner from "../Spinner";
import Typography from "../Typography";

const TABLE_PAGINATION_HEIGHT = 64;
Expand Down Expand Up @@ -375,10 +376,11 @@ const Table = ({
/>
)}
<AntTable
{...{ bordered, loading, locale, rowKey }}
{...{ bordered, locale, rowKey }}
columns={sortedColumnsWithAlignment}
components={componentOverrides}
dataSource={rowData}
loading={{ spinning: loading, indicator: <Spinner /> }}
ref={tableRef}
rowSelection={rowSelectionProps}
showSorterTooltip={false}
Expand Down

0 comments on commit 21cd696

Please sign in to comment.