import type { IconButtonTypeMap } from "@mui/material"; import type { ExtendButtonBase, OverrideProps } from "@monorail/types"; declare module "@mui/material/IconButton" { /** * Extend the IconButton color prop to allow for the other semantic styles. */ interface IconButtonPropsColorOverrides { info: true; success: true; warning: true; error: true; default: true; secondary: true; /** * Warning: Disabling 'inherit' will break Alert, because Alert's close button uses 'inherit' internally. */ inherit: true; } } export type IconButtonProps = OverrideProps, D, [ "aria-label", "aria-labelledby", "aria-hidden" ]>; export interface IconButtonExtraProps { variant?: "contained" | "outlined" | "chromeless"; shape?: "circular" | "rounded"; } /** * Refer to the [Icons](https://mui.com/material-ui/icons/) section of the documentation * regarding the available icon options. * * Demos: * * - [Icon Button](https://simspace.gitlab.io/engineering/ux-engineering/monorail/main/storybook/?path=/docs/inputs-iconbutton--default) * - [Buttons (MUI)](https://mui.com/material-ui/react-button/) * * API: * * - [IconButton API](https://mui.com/material-ui/api/icon-button/) * - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/) */ export declare const IconButton: ExtendButtonBase, ["aria-label", "aria-labelledby", "aria-hidden"]>; export * from "@mui/material/IconButton";