import { ResolveEmptyPlaceholderOptions } from '@/types/cskTypes'; import { DEFAULT_EMPTY_PLACEHOLDER } from '@/utils/createEmptyPlaceholderResolver'; import { CommonPageSlots } from '.'; export const PageEmptyPlaceholder = (props: ResolveEmptyPlaceholderOptions) => { switch (props.slotName) { case CommonPageSlots.PageHeader: return { component: () =>
}; case CommonPageSlots.PageContent: return { component: () => }; case CommonPageSlots.PageFooter: return { component: () => }; default: return DEFAULT_EMPTY_PLACEHOLDER; } };