import * as React from 'react'; import { OverrideProps } from '@mui/types'; import { RadioProps } from '../Radio/RadioProps.js'; import { SxProps } from '../styles/types/theme.js'; import '@mui/base/SwitchUnstyled'; import '../styles/types/colorSystem.js'; import '../styles/types/variants.js'; import '@mui/system'; import '../styles/types/colorScheme.js'; import '../styles/types/focus.js'; import '../styles/types/shadow.js'; import '../styles/types/radius.js'; import '../styles/types/typography.js'; declare type RadioGroupSlot = "root"; interface RadioGroupTypeMap
{
props: P & {
/**
* Class name applied to the root element.
*/
className?: string;
/**
* The component used for the Root slot.
* Either a string to use a HTML element or a component.
*/
component?: React.ElementType;
/**
* The color of the component. It supports those theme colors that make sense for this component.
*/
color?: RadioProps["color"];
/**
* The default value. Use when the component is not controlled.
*/
defaultValue?: any;
/**
* The radio's `disabledIcon` prop. If specified, the value is passed down to every radios under this element.
*/
disableIcon?: boolean;
/**
* The name used to reference the value of the control.
* If you don't provide this prop, it falls back to a randomly generated name.
*/
name?: string;
/**
* The radio's `overlay` prop. If specified, the value is passed down to every radios under this element.
*/
overlay?: boolean;
/**
* Callback fired when a radio button is selected.
*
* @param {React.ChangeEvent