File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,8 @@ export interface TimelineProps {
113113 * The left inset of the timeline calendar (sidebar width), default is 72
114114 */
115115 timelineLeftInset ?: number ;
116+ /** Identifier for testing */
117+ testID ?: string ;
116118}
117119
118120const Timeline = ( props : TimelineProps ) => {
@@ -139,7 +141,8 @@ const Timeline = (props: TimelineProps) => {
139141 unavailableHoursColor,
140142 eventTapped,
141143 numberOfDays = 1 ,
142- timelineLeftInset = 0
144+ timelineLeftInset = 0 ,
145+ testID,
143146 } = props ;
144147
145148 const pageDates = useMemo ( ( ) => {
@@ -247,6 +250,7 @@ const Timeline = (props: TimelineProps) => {
247250 contentContainerStyle = { [ styles . current . contentStyle , { width : constants . screenWidth } ] }
248251 showsVerticalScrollIndicator = { false }
249252 { ...scrollEvents }
253+ testID = { testID }
250254 >
251255 < TimelineHours
252256 start = { start }
You can’t perform that action at this time.
0 commit comments