File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,8 @@ export interface TimelineProps {
113
113
* The left inset of the timeline calendar (sidebar width), default is 72
114
114
*/
115
115
timelineLeftInset ?: number ;
116
+ /** Identifier for testing */
117
+ testID ?: string ;
116
118
}
117
119
118
120
const Timeline = ( props : TimelineProps ) => {
@@ -139,7 +141,8 @@ const Timeline = (props: TimelineProps) => {
139
141
unavailableHoursColor,
140
142
eventTapped,
141
143
numberOfDays = 1 ,
142
- timelineLeftInset = 0
144
+ timelineLeftInset = 0 ,
145
+ testID,
143
146
} = props ;
144
147
145
148
const pageDates = useMemo ( ( ) => {
@@ -247,6 +250,7 @@ const Timeline = (props: TimelineProps) => {
247
250
contentContainerStyle = { [ styles . current . contentStyle , { width : constants . screenWidth } ] }
248
251
showsVerticalScrollIndicator = { false }
249
252
{ ...scrollEvents }
253
+ testID = { testID }
250
254
>
251
255
< TimelineHours
252
256
start = { start }
You can’t perform that action at this time.
0 commit comments