MantineRadioGroup#

@palmyralabs/rt-forms-mantine · form/MantineRadioGroup.tsx

Overview#

Grouped radio buttons — an options array drives the list.

Props — IRadioGroupDefinition & RadioGroupProps#

Common field props plus:

Prop Type Purpose
options Array<{ value, label }> The radio entries
flexDirection 'row' | 'column'? Layout orientation

Example#

<MantineRadioGroup
  attribute="delivery"
  label="Delivery option"
  flexDirection="row"
  options={[
    { value: 'STANDARD', label: 'Standard (3–5 days)' },
    { value: 'EXPRESS',  label: 'Express (1–2 days)' },
    { value: 'OVERNIGHT', label: 'Overnight' },
  ]}
/>