import { ResolveEmptyPlaceholderOptions } from '@/types/cskTypes'; import { DEFAULT_EMPTY_PLACEHOLDER } from '@/utils/createEmptyPlaceholderResolver'; import { TableSlots } from '.'; export const TableEmptyPlaceholder = (props: ResolveEmptyPlaceholderOptions) => { switch (props.slotName) { case TableSlots.TableHead: return { component: () => , }; case TableSlots.TableBody: return { component: () => , }; default: return DEFAULT_EMPTY_PLACEHOLDER; } };