export default function Example() {
  return (
    <>
      <RadioGroup
        legend="Select an option"
        error
        errorMessage="Please select an option"
        variant="primary"
      >
        <RadioButton label="Option 1" value="opt1" id="opt1" />
        <RadioButton label="Option 2" value="opt2" id="opt2" />
        <RadioButton label="Option 3" value="opt3" id="opt3" />
        <RadioButton label="Option 4" value="opt4" id="opt4" />
      </RadioGroup>
    </>
  );
}