Skip to content

Field renderers ​

Set a column's valueType to display currency, dates, percentages or statuses in the corresponding format. Use fieldProps to adjust the format. Built-in types are available directly; register business types with the table's renderers prop.

Basic usage ​

The currency, date and status columns below only configure valueType. valueEnum supplies the status labels and colors, so no renderer registry is needed.

Edit in Playground

Built-in types ​

The option links lead directly to their field tables and examples. fieldProps has type TableFieldProps and also supports per-cell configuration. Built-in renderers consume only the options relevant to their type.

valueTypeDefault behaviorfieldProps options
textEnum label or raw value; booleans display as true / falseNo format options
digitFormats finite numbers or non-empty numeric strings with Intllocale, numberFormat
moneyCurrency format, CNY by defaultcurrency, locale, numberFormat
dateYYYY-MM-DDlocale, dateFormat
dateTimeYYYY-MM-DD HH:mm:sslocale, dateFormat
timeHH:mm:ss; also accepts time-only stringslocale, dateFormat
dateRange / dateTimeRangeTwo dates or date-times, joined with ~rangeSeparator / rangeEmptyText, locale, dateFormat
percent25 displays as 25%, with at most two decimal placespercentScale, locale, numberFormat
progressProgress bar from 0–100, with a success icon when completepercentScale / showValue / status, locale, numberFormat
tagEnum label and status tagstatus

Dates and times ​

date / dateTime / time accept a Date, date string or millisecond timestamp. time also accepts HH:mm and HH:mm:ss strings; for example, 09:30 displays as 09:30:00 by default. Unparseable values keep their original display value.

fieldProps fieldTypeDefaultPurpose
localestring | string[]Current table localeIntl language, such as 'zh-CN' or 'en-US'; applies when dateFormat is set.
dateFormatIntl.DateTimeFormatOptionsUnsetAn options object using the fields below; enables localized dates and times with Intl.

dateFormat options ​

dateFormat is an object. Use dateStyle / timeStyle to select predefined formats, or component fields such as year / month / day to choose what to display. Set timeZone to select a time zone.

dateFormat fieldType / accepted valuesPurpose
dateStyle'full' | 'long' | 'medium' | 'short'Date format detail.
timeStyle'full' | 'long' | 'medium' | 'short'Time format detail; can be combined with dateStyle.
timeZonestringTime zone, such as 'UTC' or 'Asia/Shanghai'. Usually defaults to the runtime's local zone; date-only and time-only rules are described below.
year'numeric' | '2-digit'Full or two-digit year.
month'numeric' | '2-digit' | 'long' | 'short' | 'narrow'Numeric month or localized month name.
day'numeric' | '2-digit'Day of the month.
weekday'long' | 'short' | 'narrow'Localized weekday name.
hour / minute / second'numeric' | '2-digit'Time components to display.
hour12booleanWhether to use 12-hour time; false selects 24-hour time.
hourCycle'h11' | 'h12' | 'h23' | 'h24'Hour cycle; hour12 takes precedence when both are provided.
timeZoneName'short' | 'long' | 'shortOffset' | 'longOffset' | 'shortGeneric' | 'longGeneric'Presentation of the time zone name or offset.

These are common fields; see Intl.DateTimeFormat options for the complete configuration. Locale and Intl determine the order, separators and text. Omit dateFormat to keep the default YYYY-MM-DD display.

ts
import type { TableColumnType } from '@vtable-guild/vtable-guild'

const column: TableColumnType = {
  dataIndex: 'createdAt',
  valueType: 'date',
  fieldProps: {
    locale: 'zh-CN',
    dateFormat: { dateStyle: 'medium', timeZone: 'UTC' },
  },
}
ts
import type { TableColumnType } from '@vtable-guild/vtable-guild'

const column: TableColumnType = {
  dataIndex: 'createdAt',
  valueType: 'dateTime',
  fieldProps: {
    locale: 'zh-CN',
    dateFormat: {
      dateStyle: 'medium',
      timeStyle: 'short',
      timeZone: 'Asia/Shanghai',
      hour12: false,
    },
  },
}
ts
import type { TableColumnType } from '@vtable-guild/vtable-guild'

const column: TableColumnType = {
  dataIndex: 'createdAt',
  valueType: 'dateTime',
  fieldProps: {
    locale: 'en-GB',
    dateFormat: {
      year: 'numeric',
      month: '2-digit',
      day: '2-digit',
      hour: '2-digit',
      minute: '2-digit',
      hour12: false,
      timeZone: 'UTC',
    },
  },
}

Combining format options

dateStyle / timeStyle cannot be combined with component options such as year / month / day / hour / minute / second / timeZoneName. Both approaches can use timeZone and hour12.

Providing dateFormat, including {}, switches entirely to Intl formatting; the renderer no longer appends the default time fields for its valueType. For example, dateTime with only dateStyle shows only a date. Add timeStyle or individual time fields to include time. Invalid Intl configurations throw an exception.

Calendar dates and time zones ​

  • Without dateFormat, date-only strings keep their calendar date. A Date, timestamp or string with a time zone uses the runtime's local date and time.
  • A date-only string such as '2026-10-25' displays as '2026-10-25 00:00:00' with dateTime by default. Intl formatting preserves the calendar date in UTC when timeZone is unset; an explicit zone converts that UTC midnight reference value.
  • Intl formatting of a time-only string uses 1970-01-01 UTC as its reference and preserves the wall-clock time when timeZone is unset. Pass a Date or timestamp when the real date, daylight saving time or display across time zones matters.

Numbers and currency ​

digit / money accept finite numbers or non-empty numeric strings. Booleans, empty strings and whitespace are not implicitly converted to zero; unparseable values keep their original display value.

fieldProps fieldTypeDefaultPurpose
localestring | string[]Current table localeNumber grouping, separators and currency language.
numberFormatIntl.NumberFormatOptionsIntl defaultsPrecision, grouping and presentation; common fields are listed below.
currencystring'CNY'ISO 4217 currency code used by money, such as 'USD' or 'EUR'.

numberFormat options ​

numberFormat fieldType / accepted valuesPurpose
minimumFractionDigits / maximumFractionDigitsnumberMinimum and maximum decimal places; the minimum must not exceed the maximum.
minimumSignificantDigits / maximumSignificantDigitsnumberMinimum and maximum significant digits.
minimumIntegerDigitsnumberMinimum integer digits; pads with zeros when needed.
useGroupingboolean | 'auto' | 'always' | 'min2'Whether to use grouping separators, such as thousands separators.
notation'standard' | 'scientific' | 'engineering' | 'compact'Standard, scientific, engineering or compact notation.
compactDisplay'short' | 'long'Detail when notation: 'compact'.
signDisplay'auto' | 'always' | 'exceptZero' | 'negative' | 'never'When to display a plus or minus sign.
currencyDisplay'symbol' | 'narrowSymbol' | 'code' | 'name'Currency symbol, narrow symbol, code or name for money.
currencySign'standard' | 'accounting'Standard or accounting presentation of negative currency values.

These are common fields; see Intl.NumberFormat options for the complete configuration. digit defaults to decimal style. money always uses style: 'currency' and fieldProps.currency, which cannot be overridden by numberFormat.style / currency. percent / progress always use percent style. Other valid Intl options are preserved; invalid configurations throw an exception.

ts
import type { TableColumnType } from '@vtable-guild/vtable-guild'

const column: TableColumnType = {
  dataIndex: 'amount',
  valueType: 'money',
  fieldProps: {
    currency: 'USD',
    locale: 'en-US',
    numberFormat: {
      minimumFractionDigits: 2,
      maximumFractionDigits: 2,
      currencyDisplay: 'code',
    },
  },
}
// 1234.5 displays as USD 1,234.50 (Intl determines the whitespace).

Date ranges ​

dateRange / dateTimeRange accept an array with exactly two endpoints. Each endpoint follows the date / dateTime format and time zone rules.

fieldProps fieldTypeDefaultPurpose
rangeSeparatorstring' ~ 'Separator between the endpoints.
rangeEmptyTextstring'—'Placeholder for a null / undefined / '' endpoint.
localestring | string[]Current table localeShared Intl language for both endpoints.
dateFormatIntl.DateTimeFormatOptionsUnsetShared date format options for both endpoints.
ts
import type { TableColumnType } from '@vtable-guild/vtable-guild'

const column: TableColumnType = {
  dataIndex: 'period',
  valueType: 'dateRange',
  fieldProps: { rangeSeparator: ' to ', rangeEmptyText: 'TBD' },
}
// ['2026-10-26', null] displays as 2026-10-26 to TBD.

Invalid non-empty string endpoints keep their original text. A value that is not a two-endpoint array, or contains an object endpoint that cannot be displayed, falls back to the original display flow as a whole.

Percentages and progress ​

percent / progress share numeric parsing, numberFormat and scale options. The example also shows date ranges, ratio inputs and completed progress.

Edit in Playground
fieldProps fieldTypeDefaultPurpose
percentScale'percent' | 'ratio''percent'With 'percent', 25 means 25%; with 'ratio', 0.25 means 25%.
numberFormatIntl.NumberFormatOptionsAt most two decimal placesPercentage precision and presentation.
localestring | string[]Current table localeIntl language for the percentage text.
showValuebooleantrueprogress only: shows the text or status icon on the right.
statusColumnValueStatusEnum or automatic statusprogress only: overrides progress status; see status tags for accepted values.
ts
import type { TableColumnType } from '@vtable-guild/vtable-guild'

const column: TableColumnType = {
  dataIndex: 'share',
  valueType: 'percent',
  fieldProps: {
    percentScale: 'ratio',
    numberFormat: { minimumFractionDigits: 1, maximumFractionDigits: 1 },
  },
}
// 0.125 displays as 12.5%.

Progress values are clamped to 0–100. Status precedence is fieldProps.status, then the valueEnum status, then automatic status. The automatic status is processing before completion and success at 100. showValue: false hides the text and status icon while retaining progress semantics.

The default small progress bar has a 6px track, a width of 100–320px and 12px text, with icons for completion and errors. The current preset supplies its colors. Override the cellProgress / cellProgressTrack / cellProgressBar / cellProgressText slots or progress theme variables to customize its appearance. Regular and virtual rows share the same render path.

Status tags ​

tag uses the text and status from valueEnum; unknown enum values keep their original value. Both presets provide colors, borders and spacing.

fieldProps fieldType / accepted valuesDefaultPurpose
status'success' | 'warning' | 'error' | 'processing' | 'default'Enum status, otherwise 'default'Overrides the valueEnum status; these values also apply to progress.

For more complex host UI tags, register a business renderer that returns an a-tag / el-tag component.

Registering application types ​

Register business types with createTableRenderers<TRecord>, then select them with the column's valueType. The member link below computes fieldProps per row and supplies tooltip text for a truncated name.

Edit in Playground

createTableRenderers merges the built-in types with business overrides and returns an immutable map. You can also pass a map containing only business types directly to the table; the remaining built-in renderers stay available. Each table uses its own map, so registrations do not affect other tables or SSR requests. An unknown valueType falls back to the enum label or raw value.

Callback context ​

fieldProps can be an options object or a function returning one. The function receives CustomRenderContext<TRecord>. A renderer receives TableFieldRenderContext<TRecord>, which extends that context with the enum display value, status, resolved options and locale.

FieldTypefieldProps callbackRenderer callbackMeaning
text / valueunknown✓✓Value after transformCellText, before enum mapping.
recordTRecord✓✓Current source row.
columnColumnType<TRecord>✓✓Current column.
index / renderIndexnumber✓✓Row index in the current render path.
displayValueVNodeChild—✓Enum label or transformed default display value; booleans become text.
statusColumnValueStatus—✓Current valueEnum status; may be undefined.
fieldPropsTableFieldProps—✓Static options or the options callback's result.
localestring—✓Current table locale; may be undefined. Built-ins prefer fieldProps.locale.

Business renderers consume custom options such as the example's tooltip. TableFieldProps allows additional fields of type unknown; convert or validate them as your business logic requires.

Content and display metadata ​

A renderer can return VNodeChild directly, including a string, number, VNode, array or null. To supply ellipsis tooltip text, status or themed presentation, return a TableFieldRenderResult object:

Result fieldTypePurpose
childrenVNodeChildRequired display content.
tooltipTextstringPlain text for an ellipsis tooltip. When omitted, text is derived only from scalar children; VNode text is not read.
statusColumnValueStatusDisplay status. Return the context's status explicitly to preserve the enum status.
presentation'tag' | 'progress'Uses the theme's tag or progress appearance. When unset, a status uses the default status dot.
progress{ percent: number; showValue: boolean }Used with presentation: 'progress'; supplies a finite percentage from 0–100 and a text visibility flag.

tooltipText is used for ellipsis tooltips: the column must enable ellipsis and allow showTitle, and the content must actually overflow. For general hover tooltips, use a host Tooltip component in the business renderer.

Images, avatars and links can reuse the host components directly:

ts
import { h } from 'vue'
import { Avatar, Image } from 'ant-design-vue'
import { createTableRenderers } from '@vtable-guild/vtable-guild'

const renderers = createTableRenderers({
  avatar: ({ value }) => h(Avatar, { src: String(value), size: 32 }),
  image: ({ value }) => h(Image, { src: String(value), width: 48 }),
  link: ({ value, displayValue }) => h('a', { href: String(value) }, displayValue),
})

Element Plus projects use ElAvatar / ElImage; the application is responsible for URL validation, placeholder images and the image preview policy.

Combining with existing display features ​

  1. transformCellText transforms the value first; enums and field renderers consume that transformed value.
  2. customRender and a valid bodyCell slot take precedence; the field renderer is used when there is no valid slot content.
  3. null / undefined use columnEmptyText and do not call the field renderer; 0 / false / '' are kept.
  4. Sorting and filtering keep using the source records, and field display never rewrites the data. filters: true still generates filter items from the same valueEnum.
  5. Copying uses the transformed raw scalar value by default and does not copy the currency symbol or enum label. Use copyable.text to change the copied content explicitly.

Without valueType, the existing cell display flow is kept. Renderers only handle read-only display; query controls and editors are composed by the application with its existing UI library.

API ​

TRecord is the application row type. See the API Reference for the table's full configuration.

Props ​

PropTypeDefaultDescription
renderersTableFieldRenderers<TRecord>Built-in mappingOverrides or extends the read-only renderers for valueType per table.
columnEmptyTextVNodeChild | falsefalseReplaces null or undefined cell values; zero, false and empty strings are kept.
transformCellTextTransformCellText<TRecord>-Transforms cell text in one place; opt contains text, column, record and index.

Column fields ​

FieldTypeDefaultDescription
valueTypestring-Specifies a built-in field render type or a registered custom type.
fieldPropsTableFieldProps | ((context: CustomRenderContext<TRecord>) => TableFieldProps)-Configures the field renderer. Accepts an object or a function that returns the configuration from the cell context.
valueEnumColumnValueEnum-Maps raw values to display text and status. Accepts an object or a Map.
customRender(ctx: CustomRenderContext<TRecord>) => VNodeChild | RenderedCell-Custom body cell content. Returning a RenderedCell sets both the content and the cell attributes.

Slots ​

SlotPayload typeDescription
bodyCellTableBodyCellSlotProps<TRecord>Custom cell content.

Theming ​

The classes of field tags and the progress bar can be overridden with the per-instance ui or the global theme.table.slots. To adjust colors or sizes, use the CSS variables below. See Three-layer theme overrides for the override order.

ui slots ​

SlotDescription
cellStatusvalueEnum status marker, colored by data-status.
cellTagTag appearance for valueType: 'tag' or a renderer with presentation: 'tag'.
cellProgressOverall progress width and the gap between the track and the value.
cellProgressTrackTrack height, radius and background.
cellProgressBarFill color; supports data-status states.
cellProgressTextPercentage text or the success / error icon.

Preset defaults ​

Switch between the default classes of the two presets with the tabs below. For how to override utilities in the default precompiled mode, see prefix and override rules.

ts
createVTableGuild({
  theme: {
    table: {
      slots: {
        cellStatus: "inline-flex items-center gap-1 before:content-[''] before:size-1.5 before:rounded-full before:bg-[color:var(--color-muted)] [&[data-status=success]]:before:bg-[color:var(--vtg-cell-success)] [&[data-status=warning]]:before:bg-[color:var(--vtg-cell-warning)] [&[data-status=error]]:before:bg-[color:var(--vtg-cell-error)] [&[data-status=processing]]:before:bg-[color:var(--color-primary)]",
        cellTag: 'inline-flex items-center whitespace-nowrap border border-[color:var(--vtg-cell-tag-border)] rounded-[var(--vtg-cell-tag-radius)] px-[var(--vtg-cell-tag-padding-inline)] text-[length:var(--vtg-cell-tag-font-size)] leading-[var(--vtg-cell-tag-line-height)] bg-[color:var(--vtg-cell-tag-bg)] text-[color:var(--color-muted)] [&[data-status=success]]:text-[color:var(--vtg-cell-success)] [&[data-status=warning]]:text-[color:var(--vtg-cell-warning)] [&[data-status=error]]:text-[color:var(--vtg-cell-error)] [&[data-status=processing]]:text-[color:var(--color-primary)]',
        cellProgress: 'inline-flex w-full min-w-[var(--vtg-cell-progress-min-width)] max-w-[var(--vtg-cell-progress-max-width)] items-center gap-[var(--vtg-cell-progress-gap)] align-middle',
        cellProgressTrack: 'block min-w-0 flex-1 overflow-hidden h-[var(--vtg-cell-progress-height)] rounded-[var(--vtg-cell-progress-radius)] bg-[color:var(--vtg-cell-progress-trail)]',
        cellProgressBar: 'block h-full rounded-[var(--vtg-cell-progress-radius)] bg-[color:var(--color-primary)] [&[data-status=success]]:bg-[color:var(--vtg-cell-success)] [&[data-status=warning]]:bg-[color:var(--vtg-cell-warning)] [&[data-status=error]]:bg-[color:var(--vtg-cell-error)]',
        cellProgressText: 'shrink-0 tabular-nums text-[length:var(--vtg-cell-progress-font-size)] text-[color:var(--color-on-surface)] [&[data-status=success]]:text-[color:var(--vtg-cell-success)] [&[data-status=error]]:text-[color:var(--vtg-cell-error)] [&>svg]:inline-block [&>svg]:align-middle',
      },
    },
  },
})
ts
createVTableGuild({
  themePreset: 'element-plus',
  theme: {
    table: {
      slots: {
        cellStatus: "inline-flex items-center gap-1 before:content-[''] before:size-1.5 before:rounded-full before:bg-[color:var(--color-muted)] [&[data-status=success]]:before:bg-[color:var(--vtg-cell-success)] [&[data-status=warning]]:before:bg-[color:var(--vtg-cell-warning)] [&[data-status=error]]:before:bg-[color:var(--vtg-cell-error)] [&[data-status=processing]]:before:bg-[color:var(--color-primary)]",
        cellTag: 'inline-flex items-center whitespace-nowrap border border-[color:var(--vtg-cell-tag-border)] rounded-[var(--vtg-cell-tag-radius)] px-[var(--vtg-cell-tag-padding-inline)] text-[length:var(--vtg-cell-tag-font-size)] leading-[var(--vtg-cell-tag-line-height)] bg-[color:var(--vtg-cell-tag-bg)] text-[color:var(--color-muted)] [&[data-status=success]]:text-[color:var(--vtg-cell-success)] [&[data-status=warning]]:text-[color:var(--vtg-cell-warning)] [&[data-status=error]]:text-[color:var(--vtg-cell-error)] [&[data-status=processing]]:text-[color:var(--color-primary)]',
        cellProgress: 'inline-flex w-full min-w-[var(--vtg-cell-progress-min-width)] max-w-[var(--vtg-cell-progress-max-width)] items-center gap-[var(--vtg-cell-progress-gap)] align-middle',
        cellProgressTrack: 'block min-w-0 flex-1 overflow-hidden h-[var(--vtg-cell-progress-height)] rounded-[var(--vtg-cell-progress-radius)] bg-[color:var(--vtg-cell-progress-trail)]',
        cellProgressBar: 'block h-full rounded-[var(--vtg-cell-progress-radius)] bg-[color:var(--color-primary)] [&[data-status=success]]:bg-[color:var(--vtg-cell-success)] [&[data-status=warning]]:bg-[color:var(--vtg-cell-warning)] [&[data-status=error]]:bg-[color:var(--vtg-cell-error)]',
        cellProgressText: 'shrink-0 tabular-nums text-[length:var(--vtg-cell-progress-font-size)] text-[color:var(--color-on-surface)] [&[data-status=success]]:text-[color:var(--vtg-cell-success)] [&[data-status=error]]:text-[color:var(--vtg-cell-error)] [&>svg]:inline-block [&>svg]:align-middle',
      },
    },
  },
})

CSS variables ​

The table lists the defaults in light mode. Dark mode can be overridden separately through .dark.

VariablePurposeantdvelement-plus
--color-primaryTheme primary color, used for drag handle hover, button highlights, field states and more#1677ff#409eff
--vtg-cell-tag-radiusTag radius4px4px
--vtg-cell-tag-padding-inlineTag horizontal padding7px9px
--vtg-cell-tag-font-sizeTag font size12px12px
--vtg-cell-tag-line-heightTag line height20px22px
--vtg-cell-tag-bgTag background; mixed from the current status color by defaultcolor-mix(in srgb, currentcolor 8%, var(--vtg-table-bg))color-mix(in srgb, currentcolor 10%, var(--vtg-table-bg))
--vtg-cell-tag-borderTag border colorcolor-mix(in srgb, currentcolor 30%, transparent)color-mix(in srgb, currentcolor 30%, transparent)
--vtg-cell-successField success status color#52c41a#67c23a
--vtg-cell-warningField warning status color#faad14#e6a23c
--vtg-cell-errorField error status color; also used for query and editing validation text#ff4d4f#f56c6c
--vtg-cell-progress-min-widthMinimum width of the progress component100px100px
--vtg-cell-progress-max-widthMaximum width of the progress component320px320px
--vtg-cell-progress-heightTrack height6px6px
--vtg-cell-progress-radiusTrack radius100px100px
--vtg-cell-progress-gapGap between the track and the text8px8px
--vtg-cell-progress-font-sizeProgress text font size12px12px
--vtg-cell-progress-trailTrack backgroundcolor-mix(in srgb, var(--color-on-surface) 6%, transparent)var(--color-default)

Type Declarations ​

View type declarations
ts
/** ColumnType / TableProps 节选;枚举与状态继续使用同一份 valueEnum。 */
export interface FieldRendererColumnFields<TRecord extends object = Record<string, any>> {
  valueType?: string
  fieldProps?: TableFieldProps | ((context: CustomRenderContext<TRecord>) => TableFieldProps)
}
export interface FieldRendererTableFields<TRecord extends object = Record<string, any>> {
  renderers?: TableFieldRenderers<TRecord>
}
ts
export { createTableRenderers } from '@vtable-guild/vtable-guild'

/** Options shared by the built-in formatters; custom renderers may add their own fields. */
export interface TableFieldProps {
  locale?: string | string[]
  numberFormat?: Intl.NumberFormatOptions
  /** Default date output is YYYY-MM-DD; an explicit options object enables Intl formatting. */
  dateFormat?: Intl.DateTimeFormatOptions
  /** Currency used by money; defaults to CNY. */
  currency?: string
  /** percent/progress input scale. Default 'percent' (25 means 25%); 'ratio' uses 0..1. */
  percentScale?: 'percent' | 'ratio'
  /** Range display separator and missing-endpoint placeholder. Defaults to ' ~ ' and '—'. */
  rangeSeparator?: string
  rangeEmptyText?: string
  /** Show the progress percentage next to its track. Default true. */
  showValue?: boolean
  /** tag and progress reuse the same status tokens as valueEnum. */
  status?: ColumnValueStatus
  [key: string]: unknown
}

export interface TableFieldRenderContext<
  TRecord extends object = Record<string, unknown>,
> extends CustomRenderContext<TRecord> {
  /** The enum label, or the transformed scalar value when no enum matches. */
  displayValue: VNodeChild
  /** Resolved from valueEnum, preserving Map key identity. */
  status?: ColumnValueStatus
  fieldProps: TableFieldProps
  /** Current table locale; a field's locale option takes precedence. */
  locale?: string
}

export interface TableFieldRenderResult {
  children: VNodeChild
  /** Explicit plain text for ellipsis tooltips; VNodes are never stringified. */
  tooltipText?: string
  /** Uses the existing theme status slot. */
  status?: ColumnValueStatus
  /** Render with the theme's tag or progress appearance instead of a status dot. */
  presentation?: 'tag' | 'progress'
  /** A finite percentage in 0..100; rendered through the table's progress theme slots. */
  progress?: { percent: number; showValue: boolean }
}

export type TableFieldRenderer<TRecord extends object = Record<string, unknown>> = (
  context: TableFieldRenderContext<TRecord>,
) => VNodeChild | TableFieldRenderResult

/** A registry is local to a table or application; no process-wide mutable registry is used. */
export type TableFieldRenderers<TRecord extends object = Record<string, unknown>> = Readonly<
  Record<string, TableFieldRenderer<TRecord>>
>