import * as React from 'react'; import { OverridableStringUnion, OverrideProps } from '@mui/types'; import { UseSwitchParameters } from '@mui/base/SwitchUnstyled'; import { ColorPaletteProp } from '../styles/types/colorSystem.js'; import { VariantProp } from '../styles/types/variants.js'; import { SxProps } from '../styles/types/theme.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 RadioSlot = "root" | "radio" | "icon" | "action" | "input" | "label"; interface RadioPropsVariantOverrides { } interface RadioPropsColorOverrides { } interface RadioPropsSizeOverrides { } interface ComponentsProps { root?: SlotComponentProps<"span", { sx?: SxProps; }, RadioOwnerState>; radio?: SlotComponentProps<"span", { sx?: SxProps; }, RadioOwnerState>; icon?: SlotComponentProps<"span", { sx?: SxProps; }, RadioOwnerState>; action?: SlotComponentProps<"span", { sx?: SxProps; }, RadioOwnerState>; input?: SlotComponentProps<"input", { sx?: SxProps; }, RadioOwnerState>; label?: SlotComponentProps<"label", { sx?: SxProps; }, RadioOwnerState>; } interface RadioTypeMap
{
props: P & UseSwitchParameters & {
/**
* The icon to display when the component is checked.
*/
checkedIcon?: React.ReactNode;
/**
* 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 props used for each slot inside the component.
* @default {}
*/
componentsProps?: ComponentsProps;
/**
* The color of the component. It supports those theme colors that make sense for this component.
* @default 'neutral'
*/
color?: OverridableStringUnion