@sqlrooms/data-table / ColumnTypeBadge
Function: ColumnTypeBadge()
ColumnTypeBadge(
props):ReactNode|Promise<ReactNode>
∏ A badge that displays the type of a database table column.
Parameters
| Parameter | Type |
|---|---|
props | { className: string; columnType: unknown; typeCategory: ColumnTypeCategory; } |
props.className? | string |
props.columnType | unknown |
props.typeCategory? | ColumnTypeCategory |
Returns
ReactNode | Promise<ReactNode>
