File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
packages/mui-lab/src/Timeline Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ const useUtilityClasses = (ownerState: OwnerState) => {
2121 return composeClasses ( slots , getTimelineUtilityClass , classes ) ;
2222} ;
2323
24- const TimelineRoot = styled ( 'ul' as const , {
25- name : 'MuiTimeline' as const ,
24+ const TimelineRoot = styled ( 'ul' , {
25+ name : 'MuiTimeline' ,
2626 slot : 'Root' ,
2727 overridesResolver : ( props , styles ) => {
2828 const { ownerState } = props ;
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { Theme } from '@mui/material/styles';
44import { SxProps } from '@mui/system' ;
55import { TimelineClasses } from './timelineClasses' ;
66
7- export interface TimelineProps extends StandardProps < React . HTMLAttributes < HTMLUListElement > > {
7+ export interface TimelineProps extends StandardProps < React . ComponentProps < 'ul' > > {
88 /**
99 * The position where the TimelineContent should appear relative to the time axis.
1010 * @default 'right'
You can’t perform that action at this time.
0 commit comments