mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-08 20:57:08 +08:00
refactor(infra): directory structure (#4615)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import type { Page } from '@blocksuite/store';
|
||||
|
||||
import { ImagePreviewModal } from './component';
|
||||
|
||||
export type AppProps = {
|
||||
page: Page;
|
||||
};
|
||||
|
||||
export const App = ({ page }: AppProps) => {
|
||||
return <ImagePreviewModal pageId={page.id} workspace={page.workspace} />;
|
||||
};
|
||||
Reference in New Issue
Block a user