global.ts 413 B

1234567891011121314
  1. import React, { PropsWithChildren } from "react";
  2. import { ReactZoomPanPinchRef } from "react-zoom-pan-pinch";
  3. import { CanvasDirection } from "reaflow";
  4. export interface StorageConfig {
  5. layout: CanvasDirection;
  6. expand: boolean;
  7. hideEditor: boolean;
  8. zoomPanPinch: ReactZoomPanPinchRef | null;
  9. lightmode: boolean;
  10. performance: boolean;
  11. }
  12. export type ReactComponent = React.FC<PropsWithChildren<{}>>;