import { FieldsetProps } from '../fieldset/Fieldset'; import { RadioProps } from '../radio/Radio'; import { ChangeEvent, Ref } from 'react'; export type RadioGroupItem = Omit; export interface RadioGroupProps extends Omit { /** If provided, will display under the label for extra information about the input field */ feHint?: string; /** If true, displays the fields inline on the horizontal axis */ feHorizontal?: boolean; /** One or more RadioField components that will be laid out in a column */ feItems: RadioGroupItem[]; /** Ref for the wrapping element. This is not a regular forwarded ref in order to allow for generic typing. */ feWrapperRef?: Ref; /** Callback that fires whenever one of the radio fields are clicked. Includes the value of the newly selected field. */ onChange?: (event: ChangeEvent, value: T) => void; /** The value of the radio field that should be selected. Makes the fields controlled. */ value?: T | null; } /** * The `` component renders a wrapper for multiple `` components. Use this when you need to show errors for ``.
* It extends the interface of native html `
` element. * * See [InVision DSM](https://skf.invisionapp.com/dsm/ab-skf/4-web-applications/nav/5fa7caf78c01200018354495/asset/6229e324f1413fe88521d3de) for design principles.
* See [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset) for further information about the element and related attributes. */ declare const RadioGroup: { ({ feHint, feItems, feHorizontal, feWrapperRef, id, name, onChange, value, ...rest }: RadioGroupProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; export default RadioGroup;