-
Beta Was this translation helpful? Give feedback.
Answered by
WojakGra
Mar 2, 2026
Replies: 1 comment
-
|
Fixed it by using getDefaultMRTOptions.ts: import RenderEmptyRowsFallbackComponent from './RenderEmptyRowsFallbackComponent'
export const getDefaultMRTOptions = <TData extends MRT_RowData>(): Partial<MRT_TableOptions<TData>> => ({
// ...
renderEmptyRowsFallback: RenderEmptyRowsFallbackComponent,
// ...
})RenderEmptyRowsFallbackComponent.tsx import { Text } from '@mantine/core'
const RenderEmptyRowsFallbackComponent = () => (
<Text size="xl" c="dimmed" p="md" ta="center" fs="italic">
Brak wierszy do wyświetlenia
</Text>
)
export default RenderEmptyRowsFallbackComponent |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
WojakGra
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Fixed it by using
renderEmptyRowsFallback:getDefaultMRTOptions.ts:
RenderEmptyRowsFallbackComponent.tsx