@datamonsterr/vdt-dashboard
Version:
21 lines • 923 B
TypeScript
import type { ForeignKey, Table } from '@/types/database';
import { View } from '../types';
interface DashboardContentProps {
currentView: View;
onNavigate: (view: View) => void;
onSchemaChange?: (data: {
tables: Table[];
foreignKeys: ForeignKey[];
}) => void;
onSchemaSelect?: (schemaId: string) => void;
selectedSchemaId?: string;
showDemo: boolean;
showViewDatabases: boolean;
initialTheme: 'light' | 'dark';
initialTables: Table[];
initialForeignKeys: ForeignKey[];
requireAuthForSchemaBuilder: boolean;
}
export declare function DashboardContent({ currentView, onNavigate, onSchemaChange, onSchemaSelect, selectedSchemaId, showDemo, showViewDatabases, initialTheme, initialTables, initialForeignKeys, requireAuthForSchemaBuilder }: DashboardContentProps): import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=DashboardContent.d.ts.map