react-selectable-fast
Version:
Enable other React components to be selectable by drawing a box with your mouse/touch
16 lines (15 loc) • 550 B
TypeScript
import React, { Component, FunctionComponent, ReactNode } from 'react';
declare type TDeselectAllProps = {
children: ReactNode;
component?: string | FunctionComponent;
className?: string;
[key: string]: any;
};
export declare class DeselectAll extends Component<TDeselectAllProps> {
static contextType: React.Context<import("./Selectable.types").TSelectableGroupContext>;
root: HTMLDivElement | null;
componentDidMount(): void;
getRootRef: (ref: HTMLDivElement | null) => void;
render(): JSX.Element;
}
export {};