mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-30 07:06:41 +07:00
12 lines
388 B
TypeScript
12 lines
388 B
TypeScript
import dynamic from 'next/dynamic';
|
|
|
|
import type { HeaderProps } from '~/containers/main/Header/index';
|
|
|
|
import styles from './styles.module.scss';
|
|
|
|
export const HeaderSSR = dynamic<HeaderProps>(() => import('./index').then(it => it.Header), {
|
|
ssr: false,
|
|
loading: () => <div className={styles.wrap} />,
|
|
});
|
|
|
|
export const HeaderSSRPlaceholder = () => <div className={styles.wrap} />;
|