Skip to content

Commit

Permalink
Dev | Examples | Timeline Scrolling: Tooltip for rows
Browse files Browse the repository at this point in the history
  • Loading branch information
rokotyan committed Feb 14, 2023
1 parent 57aad87 commit de665e6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export const component = (): JSX.Element => {
<VisTooltip triggers={{
[Timeline.selectors.line]: (d: TimeDataRecord) =>
`${(new Date(d.timestamp)).toDateString()}${(new Date(d.timestamp + d.length)).toDateString()}`,
[Timeline.selectors.row]: (label: string) => `Timeline Row ${label}`,
}}/>
</VisXYContainer>
</>
Expand Down

0 comments on commit de665e6

Please sign in to comment.