notea/pages/index.tsx
2021-02-21 08:53:57 +08:00

19 lines
388 B
TypeScript

import { TreeData } from '@atlaskit/tree'
import LayoutMain from 'components/layout/layout-main'
const IndexPage = ({ tree }: IndexPageProps) => {
return (
<LayoutMain tree={tree}>
<div></div>
</LayoutMain>
)
}
export default IndexPage
export interface IndexPageProps {
tree: TreeData
}
export { getServerSideProps } from 'services/init-tree'