import { OverrideProps } from "../OverridableComponent";
import SwitchBaseProps from "../internal/SwitchBaseProps";
import { Theme } from "../styles";
import { SwitchClasses } from "./switchClasses";
import { SxProps } from "@suid/system";
import { ElementType, OverridableStringUnion } from "@suid/types";
import { JSXElement } from "solid-js";
export interface SwitchPropsSizeOverrides {
}
export interface SwitchPropsColorOverrides {
}
export interface SwitchTypeMap
{
name: "MuiSwitch";
defaultPropNames: "color" | "size";
selfProps: {
/**
* The icon to display when the component is checked.
*/
checkedIcon?: JSXElement;
/**
* Override or extend the styles applied to the component.
*/
classes?: Partial;
/**
* The color of the component. It supports those theme colors that make sense for this component.
* @default 'primary'
*/
color?: OverridableStringUnion<"primary" | "secondary" | "error" | "info" | "success" | "warning" | "default", SwitchPropsColorOverrides>;
/**
* If `true`, the component is disabled.
*/
disabled?: boolean;
/**
* The icon to display when the component is unchecked.
*/
icon?: JSXElement;
/**
* The size of the component.
* `small` is equivalent to the dense switch styling.
* @default 'medium'
*/
size?: OverridableStringUnion<"small" | "medium", SwitchPropsSizeOverrides>;
/**
* The system prop that allows defining system overrides as well as additional CSS styles.
*/
sx?: SxProps;
/**
* The value of the component. The DOM API casts this to a string.
* The browser uses "on" as the default value.
*/
value?: unknown;
};
props: P & SwitchTypeMap["selfProps"] & Omit;
defaultComponent: D;
}
export type SwitchProps = OverrideProps, D>;
export default SwitchProps;
//# sourceMappingURL=SwitchProps.d.ts.map