App.tsx
Make sure
QuillProvider is a parent of the SQLEditor component.Examples
Props
(props: ButtonComponentProps) => JSX.Element
A primary button component.
(props: ButtonComponentProps) => JSX.Element
A secondary button component.
(props: DeleteButtonComponentProps) => JSX.Element
A small delete button used to click out of things. Usually an “X” icon.
(props: TextInputComponentProps) => JSX.Element
A input element for getting text from the user.
(props: SelectComponentProps) => JSX.Element
A select element for letting the user select from a set of options.
(props: TableComponentProps) => JSX.Element
A table component.
() => JSX.Element
A component to show while the query results are loading.
(props: CardComponentProps) => JSX.Element
A card component used as a dismissable container of pivot information.
(props: ModalComponentProps) => JSX.Element
A modal component to use to open the add to dashboard dialog.
(props: PopoverComponentProps) => JSX.Element
A popover component.
(props: { label: string }) => JSX.Element
A label component.
(props: { label: string }) => JSX.Element
A header component.
(props: { label: string }) => JSX.Element
A sub-header component describes a group of inputs.
(props: { label: string }) => JSX.Element
A simple text component.
(props: { children: ReactNode }) => JSX.Element
A container for each row of inputs for the ChartBuilder form.
(props: { children: ReactNode }) => JSX.Element
A container for vertically-stacked rows of inputs for the ChartBuilder form.
(props: { children: ReactNode }) => JSX.Element
A container for each row of inputs for the pivot form.
(props: { children: ReactNode }) => JSX.Element
A container for vertically-stacked rows of inputs for the pivot form.
(props: { children: ReactNode }) => JSX.Element
A container for vertically-stacked sections of the chart builder form.
(props: { children: ReactNode }) => JSX.Element
A component that displays error messages.
(query: string) => void
A callback that is fired when the query changes.
(query: string) => void
A callback that is fired when the data changes.
(query: string) => void
A callback that is fired when the data fields change.
(query: string) => void
A callback that is fired when the data columns change.
(report: QuillReport) => void
A callback that is fired when a new report has been added to a dashboard.
boolean
default:true
Whether the ReportBuilder is in admin mode (default:
true).boolean
default:true
A callback that is fired when the data columns change.
boolean
default:true
Whether the “new query” button is enabled.
boolean
default:true
Whether to show table format options.
boolean
default:true
Whether to show date field options.
boolean
default:true
Whether to show access control options.
QuillReport
An existing report to edit.
string
The default query to use as a placeholder.
string
The default dashboard to add reports to.
string
The title of the ChartBuilder dialog.
string
The label of the button to add the current query to a dashboard.
string
default:"Add to dashboard"
The label of the button to open the ChartBuilder dialog.
string
The name of the current organization.
string
Styles the top-level container of the SQLEditor.This can be useful for TailwindCSS-style classname strings.
CSSProperties
Custom styling properties for the ReportBuilder’s top-level container.




















