Item
An item is an object that is placed inside of a row, and it's position and size is relative to its values.
Item is an extension of dnd-kits's Draggable.
Please make sure you unserstand it's basic concepts before moving on.
dnd-timeline
does not provide you with a <Item />
component, so you will need to build your own.
A basic Item component will look like this:
Item.tsx
You can fully customize this component according to your needs.
Usage
Every <Item />
component should be rendered as a child of it's parent row.
Timeline.tsx
Last updated