Skip to main content

foundation-forms.segmentedrendereroptions

Home > @genesislcap/foundation-forms > SegmentedRendererOptions

SegmentedRendererOptions type​

Configuration options for the segmented control renderer. Activated when segmented: true is set on a UI schema element's options.

Signature:

export type SegmentedRendererOptions = StandardRendererOptions & {
segmented: true;
data: {
value: string;
label: string;
color?: string;
}[];
};

References: StandardRendererOptions