diff --git a/material-ui/index.d.ts b/material-ui/index.d.ts index a6ed3cff6b..aee74c1c0c 100644 --- a/material-ui/index.d.ts +++ b/material-ui/index.d.ts @@ -1063,7 +1063,7 @@ declare namespace __MaterialUI { export class List extends React.Component { } - interface ListItemProps extends React.HTMLAttributes<{}>, React.Props { + interface ListItemProps extends EnhancedButtonProps { // is the element that get the 'other' properties autoGenerateNestedIndicator?: boolean; disableKeyboardFocus?: boolean; @@ -1137,7 +1137,7 @@ declare namespace __MaterialUI { export class Menu extends React.Component{ } - interface MenuItemProps extends React.HTMLAttributes<{}>, React.Props { + interface MenuItemProps extends List.ListItemProps { // is the element that get the 'other' properties checked?: boolean; desktop?: boolean; @@ -1152,10 +1152,6 @@ declare namespace __MaterialUI { secondaryText?: React.ReactNode; style?: React.CSSProperties; value?: any; - - // useful attributes passed to - primaryText?: React.ReactNode; - secondaryTextLines?: number; // 1 or 2 } export class MenuItem extends React.Component{ }