Unrestrict cursor option typing

There doesn't appear to be a restriction in the code that limits the cursor style to one of col-resize or row-resize.
Change it to string to be more lenient, like gutterAlign.
This commit is contained in:
inetsoft-anton
2019-11-22 10:26:38 -05:00
committed by GitHub
parent c55da9de12
commit 27bfaba5ec

View File

@@ -42,7 +42,7 @@ declare namespace Split {
direction?: 'horizontal' | 'vertical';
// Cursor to display while dragging.
cursor?: 'col-resize' | 'row-resize';
cursor?: string;
// Callback on drag.
onDrag?(): void;