-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Type improvements and schema editor panel
- Loading branch information
1 parent
6add192
commit 1586a64
Showing
3 changed files
with
22 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,20 @@ | ||
import React, { useContext } from "react" | ||
import { Table } from "@questdb/react-components" | ||
import { ImportContext } from "../../modules/Import/import-file" | ||
import { PaneContent, PaneWrapper } from "../../components" | ||
import { Panel } from "../../components/Panel" | ||
|
||
type Props = {} | ||
|
||
export const SchemaEditor = ({}: Props) => { | ||
return null | ||
const { state, dispatch } = useContext(ImportContext) | ||
return ( | ||
<PaneWrapper> | ||
<Panel.Header title="Schema" shadow /> | ||
<PaneContent> | ||
<p>Flow: {state.flow}</p> | ||
<Table columns={[]} rows={[]} /> | ||
</PaneContent> | ||
</PaneWrapper> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters