export default function Example() {
  return (
    <>
      <RadioGroup
        legend="Select an option"
        name="default-value"
        defaultValue={"opt1"}
        variant="primary"
      >
        <RadioButton label="Option 1" value="opt1" id="opt1" />
        <RadioButton label="Option 2" value="opt2" id="opt2" />
      </RadioGroup>
    </>
  );
}