@ -948,7 +948,7 @@ export default class Table<T> extends React.Component<TableProps<T>, TableState<
className={classString}
expandIconColumnIndex={expandIconColumnIndex}
expandIconAsCell={expandIconAsCell}
emptyText={() => locale.emptyText}
emptyText={locale.emptyText}
/>
);
}
@ -47,11 +47,11 @@ export interface TableComponents {
export interface TableLocale {
filterTitle?: string;
filterConfirm?: string;
filterReset?: string;
emptyText?: string;
selectAll?: string;
selectInvert?: string;
filterConfirm?: React.ReactNode;
filterReset?: React.ReactNode;
emptyText?: React.ReactNode | (() => React.ReactNode);
selectAll?: React.ReactNode;
selectInvert?: React.ReactNode;
export type RowSelectionType = 'checkbox' | 'radio';