groupFields beta
Function of @v12-engine/client
ts
export declare function groupFields<Item extends LaneItem>(fields: readonly LaneField<Item>[], groups: Readonly<Record<string, readonly string[]>>): LaneField<Item>[];A lane's fields with the groups they are laid out in by the Inspector (LaneField.group): each group's keys, which are side by side two a line under its name where they follow one another in the list ({ Box: ['x', 'y'] }). A field that says a group of its own keeps it