mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00:00
12 lines
265 B
TypeScript
12 lines
265 B
TypeScript
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} />;
|
|
};
|