mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
22 lines
469 B
TypeScript
22 lines
469 B
TypeScript
import { BaseTool } from '@blocksuite/block-std/gfx';
|
|
|
|
import type { NavigatorMode } from './frame-manager';
|
|
|
|
type PresentToolOption = {
|
|
mode?: NavigatorMode;
|
|
};
|
|
|
|
export class PresentTool extends BaseTool<PresentToolOption> {
|
|
static override toolName: string = 'frameNavigator';
|
|
}
|
|
|
|
declare module '@blocksuite/block-std/gfx' {
|
|
interface GfxToolsMap {
|
|
frameNavigator: PresentTool;
|
|
}
|
|
|
|
interface GfxToolsOption {
|
|
frameNavigator: PresentToolOption;
|
|
}
|
|
}
|