Skip to content

Commit

Permalink
fix(Timeline): fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
francinelucca committed Nov 8, 2024
1 parent 8fffd72 commit b762bec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react/src/Timeline/Timeline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ const StyledTimelineItem = styled.div.attrs<StyledTimelineItemProps>(props => ({

export type TimelineItemsProps<As extends React.ElementType> = {
as?: As
condensed?: boolean
} & React.ComponentPropsWithoutRef<React.ElementType extends As ? 'div' : As> &
SxProp
function TimelineItem<As extends React.ElementType>(props: TimelineItemsProps<As>) {
Expand Down

0 comments on commit b762bec

Please sign in to comment.