Skip to content

Commit c0a2352

Browse files
committed
feat: Add duration time in info tab
1 parent ba7c71a commit c0a2352

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

web/libs/editor/src/components/TimeDurationControl/TimeDurationControl.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,14 @@ export const TimeDurationControl: FC<TimerProps> = ({
5656
data-testid="timebox-end-time"
5757
inverted
5858
/>
59+
<TimeBox
60+
sidepanel={isSidepanel}
61+
readonly={true}
62+
value={endTime - startTime}
63+
onChange={()=> {}}
64+
data-testid="timebox-duration-time"
65+
inverted
66+
/>
5967
</Block>
6068
);
6169
};

0 commit comments

Comments
 (0)