diff --git a/types/material-ui/index.d.ts b/types/material-ui/index.d.ts index 2d8631eb22..21ee89c329 100644 --- a/types/material-ui/index.d.ts +++ b/types/material-ui/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for material-ui 0.20 +// Type definitions for material-ui 0.21 // Project: https://github.com/callemall/material-ui // Definitions by: Nathan Brown // Igor Beagorudsky @@ -12,6 +12,7 @@ // Dan Jones // Daisuke Mino // Sam Walsh +// Tim de Koning // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.6 @@ -1144,12 +1145,8 @@ declare namespace __MaterialUI { } namespace List { - export interface ListProps { - // is the element that get the 'other' properties - style?: React.CSSProperties; - } - export class List extends React.Component { - } + export interface ListProps extends React.HTMLAttributes<{}> {} + export class List extends React.Component {} export interface ListItemProps extends EnhancedButtonProps { // is the element that get the 'other' properties diff --git a/types/material-ui/material-ui-tests.tsx b/types/material-ui/material-ui-tests.tsx index a7bb59fcf8..93035bd5d6 100644 --- a/types/material-ui/material-ui-tests.tsx +++ b/types/material-ui/material-ui-tests.tsx @@ -2536,7 +2536,7 @@ const AutoCompleteExampleFilters = () => ( // "http://www.material-ui.com/#/components/avatar" const AvatarExampleSimple = () => ( - +