1 | import * as React from 'react';
|
2 | import { StandardProps } from '@material-ui/core';
|
3 | import { FabProps } from '@material-ui/core/Fab';
|
4 | import { TooltipProps } from '@material-ui/core/Tooltip';
|
5 |
|
6 | export interface SpeedDialActionProps
|
7 | extends StandardProps<Partial<TooltipProps>, SpeedDialActionClassKey, 'children'> {
|
8 | |
9 |
|
10 |
|
11 | FabProps?: Partial<FabProps>;
|
12 | |
13 |
|
14 |
|
15 | delay?: number;
|
16 | |
17 |
|
18 |
|
19 | icon?: React.ReactNode;
|
20 | |
21 |
|
22 |
|
23 | TooltipClasses?: TooltipProps['classes'];
|
24 | |
25 |
|
26 |
|
27 | tooltipPlacement?: TooltipProps['placement'];
|
28 | |
29 |
|
30 |
|
31 | tooltipTitle?: React.ReactNode;
|
32 | |
33 |
|
34 |
|
35 | tooltipOpen?: boolean;
|
36 | }
|
37 |
|
38 | export type SpeedDialActionClassKey =
|
39 | | 'fab'
|
40 | | 'fabClosed'
|
41 | | 'staticTooltip'
|
42 | | 'staticTooltipClosed'
|
43 | | 'staticTooltipLabel'
|
44 | | 'tooltipPlacementLeft';
|
45 |
|
46 |
|
47 |
|
48 |
|
49 |
|
50 |
|
51 |
|
52 |
|
53 |
|
54 |
|
55 |
|
56 |
|
57 | export default function SpeedDialAction(props: SpeedDialActionProps): JSX.Element;
|