reorderBulletPoints
reorderBulletPoints(
data,activeId,overId):ItemWithId[] |null
Defined in: components/BulletPoints/bulletPointsDnd.ts:16
Computes the reordered bullet points array when a drag operation finishes
over a different target item or returns null when no reordering should
occur.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
data |
readonly _ReadonlyObjectDeep<ItemWithId>[] |
activeId |
UniqueIdentifier |
overId |
UniqueIdentifier | null | undefined |
Returns
Section titled “Returns”ItemWithId[] | null