Type: CursorChange#

CursorChange: object | object

Payload passed to the onCursor callback. Enforces “at least one field is defined” — a payload where both cursor and kitCursorName are absent is rejected at compile time:

  • Standard cursor: both fields present — cursor is the mapped CSS value, kitCursorName is the original Kit name.

  • Custom cursor: only kitCursorName is present — cursor is absent because the SDK has no CSS mapping for the name.