Skip to content

Commit 2c5b585

Browse files
committed
add missing "component" field to List props
1 parent 9e7c0c1 commit 2c5b585

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/material-ui/src/List/List.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { OverridableComponent, OverrideProps } from '../OverridableComponent';
33

44
export interface ListTypeMap<P = {}, D extends React.ElementType = 'ul'> {
55
props: P & {
6+
component?: React.ElementType;
67
dense?: boolean;
78
disablePadding?: boolean;
89
subheader?: React.ReactElement;

0 commit comments

Comments
 (0)