mirror of
https://github.com/QingWei-Li/notea.git
synced 2024-12-04 20:32:36 +03:00
19 lines
388 B
TypeScript
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'
|