mirror of
https://github.com/docmost/docmost.git
synced 2025-11-13 22:21:13 +10:00
21 lines
504 B
TypeScript
21 lines
504 B
TypeScript
import classes from '@/features/editor/styles/editor.module.css';
|
|
import React from 'react';
|
|
import { TitleEditor } from '@/features/editor/title-editor';
|
|
import PageEditor from '@/features/editor/page-editor';
|
|
|
|
export interface FullEditorProps {
|
|
pageId: string;
|
|
title: any;
|
|
}
|
|
|
|
export function FullEditor({ pageId, title }: FullEditorProps) {
|
|
|
|
return (
|
|
<div className={classes.editor}>
|
|
<TitleEditor pageId={pageId} title={title} />
|
|
<PageEditor pageId={pageId} />
|
|
</div>
|
|
|
|
);
|
|
}
|