Skip to content

Commit

Permalink
πŸ“ Add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
laurens94 committed Sep 20, 2024
1 parent 225d5ff commit d8c0b12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/reference/types.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ TimelineItems can be points, ranges, backgrounds or markers. They are assigned t
| --- | --- | --- | --- |
| `id` | `string` | `undefined` | Unique ID, to match with `activeItems` prop |
| `start` | `number` | <Badge type="info" text="required" /> | Timestamp |
| `group` | `string` | `undefined` | `id` of the [TimelineGroup](#timelinegroup) to assign the item to |
| `end` | `number` | <Badge type="info" text="required for range and background" /> | Timestamp, only used for type `range` and `background` |
| `className` | `string` | `''` | CSS class(es) |
| `type` | `string` | <Badge type="info" text="required" /> | Type of item, one of: `point`, `range`, `background` or `marker` |
Expand Down

0 comments on commit d8c0b12

Please sign in to comment.