Skip to content

Commit 9f9ffa8

Browse files
author
Michael Ledin
committed
0.15.3 - Forwarding Popover animation - mui/material-ui#4702
1 parent 2a5ee23 commit 9f9ffa8

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

material-ui/material-ui.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,7 @@ declare namespace __MaterialUI {
555555
interface AutoCompleteProps extends React.Props<AutoComplete> {
556556
anchorOrigin?: propTypes.origin;
557557
animated?: boolean;
558+
animation?: React.ComponentClass<Popover.PopoverAnimationProps>;
558559
dataSource: AutoCompleteDataSource;
559560
disableFocusRipple?: boolean;
560561
errorStyle?: React.CSSProperties;
@@ -915,6 +916,7 @@ declare namespace __MaterialUI {
915916
interface DatePickerDialogProps extends React.Props<DatePickerDialog> {
916917
// <Container/> is the element that get the 'other' properties
917918
DateTimeFormat?: Intl.DateTimeFormat;
919+
animation?: React.ComponentClass<Popover.PopoverAnimationProps>;
918920
autoOk?: boolean;
919921
cancelLabel?: React.ReactNode;
920922
container?: "dialog" | "inline";
@@ -1130,6 +1132,7 @@ declare namespace __MaterialUI {
11301132

11311133
interface MenuItemProps extends React.HTMLAttributes, React.Props<MenuItem> {
11321134
// <ListItem/> is the element that get the 'other' properties
1135+
animation?: React.ComponentClass<Popover.PopoverAnimationProps>;
11331136
checked?: boolean;
11341137
desktop?: boolean;
11351138
disabled?: boolean;
@@ -1154,6 +1157,7 @@ declare namespace __MaterialUI {
11541157
interface IconMenuProps extends React.Props<IconMenu> {
11551158
// <Menu/> is the element that get the 'other' properties
11561159
anchorOrigin?: propTypes.origin;
1160+
animation?: React.ComponentClass<Popover.PopoverAnimationProps>;
11571161
className?: string;
11581162
iconButtonElement: React.ReactElement<IconButtonProps>;
11591163
iconStyle?: React.CSSProperties;
@@ -1193,6 +1197,7 @@ declare namespace __MaterialUI {
11931197
interface DropDownMenuProps extends React.Props<DropDownMenu> {
11941198
// <div/> is the element that gets the 'other' properties
11951199
animated?: boolean;
1200+
animation?: React.ComponentClass<Popover.PopoverAnimationProps>;
11961201
autoWidth?: boolean;
11971202
className?: string;
11981203
disabled?: boolean;

0 commit comments

Comments
 (0)