Skip to content

Commit

Permalink
Add remaining autoFocus typings
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Jun 19, 2019
1 parent 03daeb4 commit 5259138
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/material-ui/src/ListItem/ListItem.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { OverridableComponent, OverrideProps } from '../OverridableComponent';
export interface ListItemTypeMap<P, D extends React.ElementType> {
props: P & {
alignItems?: 'flex-start' | 'center';
autoFocus?: boolean;
button?: boolean;
ContainerComponent?: React.ElementType<React.HTMLAttributes<HTMLDivElement>>;
ContainerProps?: React.HTMLAttributes<HTMLDivElement>;
Expand Down
1 change: 1 addition & 0 deletions packages/material-ui/src/MenuList/MenuList.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { StandardProps } from '..';
import { ListProps, ListClassKey } from '../List';

export interface MenuListProps extends StandardProps<ListProps, MenuListClassKey, 'onKeyDown'> {
autoFocus?: boolean;
disableListWrap?: boolean;
onKeyDown?: React.ReactEventHandler<React.KeyboardEvent<any>>;
}
Expand Down

0 comments on commit 5259138

Please sign in to comment.