// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.

import type { RadioGroupProps } from "@coreai-ds/react-components";
import type { JSXElement } from "@coreai-ds/react-components";
import { Field } from "@coreai-ds/react-components";
import { RadioGroup } from "@coreai-ds/react-components";
import { Radio } from "@coreai-ds/react-components";
import * as React from 'react';

export const Default = (props: Partial<RadioGroupProps>): JSXElement => (<Field label="Favorite Fruit">
    <RadioGroup {...props}>
      <Radio value="apple" label="Apple"/>
      <Radio value="pear" label="Pear"/>
      <Radio value="banana" label="Banana"/>
      <Radio value="orange" label="Orange"/>
    </RadioGroup>
  </Field>);

export default Default;
