Skip to content

Commit

Permalink
add missing "component" field to List props
Browse files Browse the repository at this point in the history
  • Loading branch information
peterkrieg committed Jun 25, 2020
1 parent 9e7c0c1 commit 2c5b585
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/material-ui/src/List/List.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { OverridableComponent, OverrideProps } from '../OverridableComponent';

export interface ListTypeMap<P = {}, D extends React.ElementType = 'ul'> {
props: P & {
component?: React.ElementType;
dense?: boolean;
disablePadding?: boolean;
subheader?: React.ReactElement;
Expand Down

0 comments on commit 2c5b585

Please sign in to comment.