Skip to content

resolveRowWidths

resolveRowWidths(props): string[]

Defined in: packages/core/src/fields/utils.ts:412

Resolves the widths a row() lays its children out with. When every child’s admin.width is a % value and they sum to 100 (±0.5 — floating point rounding slop), those declared widths are used as-is; otherwise every child gets an equal share of the row.

string[]

string[]

The resolved width for each entry in props.widths, in order.