Skip to content

@sqlrooms/data-table / QueryDataTableProps

Type Alias: QueryDataTableProps

QueryDataTableProps = object

Properties

className?

optional className?: string


fontSize?

optional fontSize?: DataTablePaginatedProps<any>["fontSize"]

Custom font size for the table e.g. text-xs, text-sm, text-md, text-lg, text-base


query

query: string


lastRunTime?

optional lastRunTime?: number


isLoading?

optional isLoading?: boolean


pageSize?

optional pageSize?: number


queryKeyComponents?

optional queryKeyComponents?: unknown[]


renderActions?

optional renderActions?: (query) => React.ReactNode

Parameters

ParameterType
querystring

Returns

React.ReactNode


formatValue?

optional formatValue?: ArrowDataTableValueFormatter

Custom value formatter for arrow data