UNPKG

1.19 kBTypeScriptView Raw
1import * as React from 'react';
2import { SxProps } from '@mui/system';
3import { Theme } from '../styles';
4import { InternalStandardProps as StandardProps } from '..';
5import { SpeedDialIconClasses } from './speedDialIconClasses';
6
7export interface SpeedDialIconProps
8 extends StandardProps<React.HTMLAttributes<HTMLSpanElement>, 'children'> {
9 /**
10 * Override or extend the styles applied to the component.
11 */
12 classes?: Partial<SpeedDialIconClasses>;
13 /**
14 * The icon to display.
15 */
16 icon?: React.ReactNode;
17 /**
18 * The icon to display in the SpeedDial Floating Action Button when the SpeedDial is open.
19 */
20 openIcon?: React.ReactNode;
21 /**
22 * @ignore
23 * If `true`, the component is shown.
24 */
25 open?: boolean;
26 /**
27 * The system prop that allows defining system overrides as well as additional CSS styles.
28 */
29 sx?: SxProps<Theme>;
30}
31
32/**
33 *
34 * Demos:
35 *
36 * - [Speed Dial](https://mui.com/material-ui/react-speed-dial/)
37 *
38 * API:
39 *
40 * - [SpeedDialIcon API](https://mui.com/material-ui/api/speed-dial-icon/)
41 */
42declare const SpeedDialIcon: ((props: SpeedDialIconProps) => React.JSX.Element) & {
43 muiName: string;
44};
45
46export default SpeedDialIcon;
47
\No newline at end of file