Skip to content

GroupedFields beta ​

Function of @v12-engine/editor

ts
export declare function GroupedFields<Field>(props: {
    fields: readonly Field[];
    group: (field: Field) => string | undefined;
    children: (field: Field) => JSX.Element;
    label?: (group: string) => string | false;
}): JSX.Element;

A list of fields drawn each by children, those of a group (group of each, consecutive) side by side under its name (FieldGroup); one alone in its group is drawn as the others. What a lane's fields, a game's map fields and its kinds' are drawn by, and a panel of a game's may be