mirror of
https://github.com/supabase/supabase.git
synced 2026-10-18 07:39:07 +03:00
* Midway implementing persist schema visualizer node positions * Implement persisting node positions in local storage * Fix SupportForm * Improve default positions of new nodes
20 lines
578 B
TypeScript
20 lines
578 B
TypeScript
import { ReactFlowProvider } from 'reactflow'
|
|
|
|
import { SchemaGraph } from 'components/interfaces/Database/Schemas/SchemaGraph'
|
|
import DatabaseLayout from 'components/layouts/DatabaseLayout/DatabaseLayout'
|
|
import type { NextPageWithLayout } from 'types'
|
|
|
|
const SchemasPage: NextPageWithLayout = () => {
|
|
return (
|
|
<div className="flex w-full h-full flex-col">
|
|
<ReactFlowProvider>
|
|
<SchemaGraph />
|
|
</ReactFlowProvider>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
SchemasPage.getLayout = (page) => <DatabaseLayout title="Database">{page}</DatabaseLayout>
|
|
|
|
export default SchemasPage
|