forked from mui/material-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSpeedDial.d.ts
29 lines (25 loc) · 991 Bytes
/
SpeedDial.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import * as React from 'react';
import { StandardProps } from '@material-ui/core';
import { ButtonProps } from '@material-ui/core/Button';
import { TransitionProps } from 'react-transition-group/Transition';
import { TransitionHandlerProps } from '@material-ui/core/transitions/transition';
export interface SpeedDialProps
extends StandardProps<
React.HTMLAttributes<HTMLDivElement> & Partial<TransitionHandlerProps>,
SpeedDialClassKey
> {
ariaLabel: string;
ButtonProps?: Partial<ButtonProps>;
direction?: 'up' | 'down' | 'left' | 'right';
hidden?: boolean;
icon: React.ReactNode;
onClose?: React.ReactEventHandler<{}>;
open: boolean;
openIcon?: React.ReactNode;
TransitionComponent?: React.ReactType;
transitionDuration?: TransitionProps['timeout'];
TransitionProps?: TransitionProps;
}
export type SpeedDialClassKey = 'root' | 'actions' | 'actionsClosed';
declare const SpeedDial: React.ComponentType<SpeedDialProps>;
export default SpeedDial;