import React__default from 'react'; import { OverridableStringUnion, OverridableTypeMap, OverrideProps, OverridableComponent } from '@mui/types'; 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 IconButtonSlot = "root"; interface IconButtonPropsVariantOverrides { } interface IconButtonPropsColorOverrides { } interface IconButtonPropsSizeOverrides { } interface IconButtonTypeMap

{ props: P & { /** * A ref for imperative actions. It currently only supports `focusVisible()` action. */ action?: React__default.Ref<{ focusVisible(): void; }>; /** * The color of the component. It supports those theme colors that make sense for this component. * @default 'primary' */ color?: OverridableStringUnion; /** * If `true`, the component is disabled. * @default false */ disabled?: boolean; /** * This prop can help identify which element has keyboard focus. * The class name will be applied when the element gains the focus through keyboard interaction. * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo). * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md). * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components * if needed. */ focusVisibleClassName?: string; /** * The size of the component. */ size?: OverridableStringUnion<"sm" | "md" | "lg", IconButtonPropsSizeOverrides>; /** * The system prop that allows defining system overrides as well as additional CSS styles. */ sx?: SxProps; /** * @default 0 */ tabIndex?: NonNullable["tabIndex"]>; /** * The variant to use. * @default 'soft' */ variant?: OverridableStringUnion; }; defaultComponent: D; } interface ExtendIconButtonTypeMap { props: M["props"] & IconButtonTypeMap["props"]; defaultComponent: M["defaultComponent"]; } declare type IconButtonProps = OverrideProps, D>; declare type ExtendIconButton = ((props: OverrideProps, "a">) => JSX.Element) & OverridableComponent>; export { ExtendIconButton, ExtendIconButtonTypeMap, IconButtonProps, IconButtonPropsColorOverrides, IconButtonPropsSizeOverrides, IconButtonPropsVariantOverrides, IconButtonSlot, IconButtonTypeMap };