Browse Source

style(crons): Some comments on GridLines Props (#68007)

Evan Purkhiser 11 months ago
parent
commit
bbeee33e1d
1 changed files with 12 additions and 0 deletions
  1. 12 0
      static/app/views/monitors/components/overviewTimeline/gridLines.tsx

+ 12 - 0
static/app/views/monitors/components/overviewTimeline/gridLines.tsx

@@ -14,10 +14,22 @@ import {useTimelineZoom} from './timelineZoom';
 
 interface Props {
   timeWindowConfig: TimeWindowConfig;
+  /**
+   * The size of the timeline
+   */
   width: number;
+  /**
+   * Enable zoom selection
+   */
   allowZoom?: boolean;
   className?: string;
+  /**
+   * Enable the timeline cursor
+   */
   showCursor?: boolean;
+  /**
+   * Enabling causes the cursor tooltip to stick to the top of the viewport.
+   */
   stickyCursor?: boolean;
 }