@sqlrooms/sql-editor / TableStructurePanelProps
Interface: TableStructurePanelProps
Properties
className?
optionalclassName:string
Custom class name for styling
schema?
optionalschema:string| (name) =>boolean
The database schema to use. Defaults to ''. If '' is provided, all tables will be shown. If a function is provided, it will be used to filter the tables.
onTableSelect()?
optionalonTableSelect: (table) =>void
Callback when a table is selected
Parameters
| Parameter | Type |
|---|---|
table | undefined | string |
Returns
void
