refactor(userselection): use store for handling updates
This commit is contained in:
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
import { HandleElement } from '../../types';
|
||||
export declare const getHandleBounds: (selector: string, nodeElement: HTMLDivElement, parentBounds: ClientRect | DOMRect, k: number) => HandleElement[] | null;
|
||||
+4
@@ -1,3 +1,7 @@
|
||||
/**
|
||||
* The nodes selection rectangle gets displayed when a user
|
||||
* made a selectio with on or several nodes
|
||||
*/
|
||||
import React from 'react';
|
||||
declare const _default: React.MemoExoticComponent<() => JSX.Element>;
|
||||
export default _default;
|
||||
|
||||
+3
@@ -1,3 +1,6 @@
|
||||
/**
|
||||
* The user selection rectangle gets displayed when a user drags the mouse while pressing shift
|
||||
*/
|
||||
import React from 'react';
|
||||
declare type UserSelectionProps = {
|
||||
isInteractive: boolean;
|
||||
|
||||
Reference in New Issue
Block a user