import React from 'react';
import { IPage, IUser } from '@growi/core';
import dynamic from 'next/dynamic';
import { useSWRxCurrentPage } from '~/stores/page';
import { Skelton } from './Skelton';
import styles from './PageContentFooter.module.scss';
const AuthorInfo = dynamic(() => import('./Navbar/AuthorInfo'), {
ssr: false,
loading: () => ,
});
export type PageContentFooterProps = {
page: IPage,
}
export const PageContentFooter = (props: PageContentFooterProps): JSX.Element => {
const { page } = props;
const {
creator, lastUpdateUser, createdAt, updatedAt,
} = page;
return (
);
};
export const CurrentPageContentFooter = (): JSX.Element => {
const { data: currentPage } = useSWRxCurrentPage();
if (currentPage == null) {
return <>>;
}
return ;
};