File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed
src/components/TimelineItem Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,6 @@ const buildTypes = type => {
57
57
'Rating' ,
58
58
'Spinner' ,
59
59
'Table' ,
60
- 'TimelineItem' ,
61
60
'Progress'
62
61
]
63
62
Original file line number Diff line number Diff line change 1
1
import React from 'react'
2
- import type { TimelineItemProps } from './timelineitem'
2
+ import type { ReactTimelineItemProps } from './timelineitem'
3
3
4
4
import styles from './timelineitem.module.scss'
5
5
import { classNames } from '../../utils/classNames'
6
6
7
- type ReactTimelineItemProps = {
8
- TitleTag ?: keyof JSX . IntrinsicElements
9
- children : React . ReactNode
10
- } & Omit < TimelineItemProps , 'titleTag' >
11
-
12
7
const TimelineItem = ( {
13
8
title,
14
9
TitleTag = 'span' ,
Original file line number Diff line number Diff line change @@ -3,3 +3,8 @@ export type TimelineItemProps = {
3
3
titleTag ?: string
4
4
className ?: string
5
5
}
6
+
7
+ export type ReactTimelineItemProps = {
8
+ TitleTag ?: keyof JSX . IntrinsicElements
9
+ children : React . ReactNode
10
+ } & Omit < TimelineItemProps , 'titleTag' >
You can’t perform that action at this time.
0 commit comments