change name logind all component

This commit is contained in:
hamid zarghami
2025-11-23 08:39:30 +03:30
parent 9eadbb568b
commit 42960e581a
32 changed files with 526 additions and 47 deletions
+3 -3
View File
@@ -9,7 +9,7 @@ import Pagination from '../components/Pagination';
const Table = <T extends RowDataType>({
columns,
data,
isLoading = false,
isloading = false,
onRowClick,
className = '',
rowClassName = '',
@@ -74,7 +74,7 @@ const Table = <T extends RowDataType>({
const hasActions = (actionsPosition === 'top' || actionsPosition === 'above-header') && (actions || (selectable && selectedRows.length > 0 && selectedActions));
const roundedClass = hasActions ? 'rounded-b-2xl' : 'rounded-2xl';
if (isLoading) {
if (isloading) {
return (
<div className={`bg-white ${roundedClass} overflow-hidden`}>
{Array.from({ length: emptyRowsCount }).map((_, index) => (
@@ -145,7 +145,7 @@ const Table = <T extends RowDataType>({
};
const renderTableBody = () => {
if (isLoading) {
if (isloading) {
return (
<DefaultTableSkeleton tdCount={columns.length + (selectable ? 1 : 0) + (rowActions ? 1 : 0)} trCount={emptyRowsCount} />
);