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 SwitchSlot = "root" | "action" | "input" | "track" | "thumb"; interface SwitchPropsVariantOverrides { } interface SwitchPropsColorOverrides { } interface SwitchPropsSizeOverrides { } interface ComponentsProps { root?: SlotComponentProps<"div", { sx?: SxProps; }, SwitchOwnerState>; thumb?: SlotComponentProps<"span", { sx?: SxProps; }, SwitchOwnerState>; action?: SlotComponentProps<"div", { sx?: SxProps; }, SwitchOwnerState>; input?: SlotComponentProps<"button", { sx?: SxProps; }, SwitchOwnerState>; track?: SlotComponentProps<"span", { sx?: SxProps; }, SwitchOwnerState>; startDecorator?: SlotComponentProps<"span", { sx?: SxProps; }, SwitchOwnerState>; endDecorator?: SlotComponentProps<"span", { sx?: SxProps; }, SwitchOwnerState>; } interface SwitchTypeMap
{
props: P & UseSwitchParameters & {
/**
* The color of the component. It supports those theme colors that make sense for this component.
* @default 'neutral'
*/
color?: OverridableStringUnion