@sqlrooms/data-table / QueryDataTableProps
Type Alias: QueryDataTableProps
QueryDataTableProps =
object
Properties
className?
optionalclassName?:string
fontSize?
optionalfontSize?: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?
optionallastRunTime?:number
isLoading?
optionalisLoading?:boolean
pageSize?
optionalpageSize?:number
queryKeyComponents?
optionalqueryKeyComponents?:unknown[]
renderActions?
optionalrenderActions?: (query) =>React.ReactNode
Parameters
| Parameter | Type |
|---|---|
query | string |
Returns
React.ReactNode
formatValue?
optionalformatValue?:ArrowDataTableValueFormatter
Custom value formatter for arrow data
