Skip to content

Commit

Permalink
Change ListItem types order
Browse files Browse the repository at this point in the history
  • Loading branch information
ricosandyca authored Nov 2, 2020
1 parent a73073e commit 09c897f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/material-ui/src/ListItem/ListItem.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,30 +98,30 @@ export interface ListItemTypeMap<P, D extends React.ElementType> {
*
* - [ListItem API](https://material-ui.com/api/list-item/)
*/
declare const ListItem: OverridableComponent<
declare const ListItem: ExtendButtonBase<
ListItemTypeMap<
{
/**
* If `true`, the list item is a button (using `ButtonBase`). Props intended
* for `ButtonBase` can then be applied to `ListItem`.
* @default false
*/
button?: boolean;
button: true;
},
'li'
'div'
>
> &
ExtendButtonBase<
OverridableComponent<
ListItemTypeMap<
{
/**
* If `true`, the list item is a button (using `ButtonBase`). Props intended
* for `ButtonBase` can then be applied to `ListItem`.
* @default false
*/
button: true;
button?: boolean;
},
'div'
'li'
>
>;

Expand Down

0 comments on commit 09c897f

Please sign in to comment.