UNPKG

react-selectable-fast

Version:

Enable other React components to be selectable by drawing a box with your mouse/touch

16 lines (15 loc) 544 B
import React, { Component, ReactNode, FunctionComponent } from 'react'; declare type TSelectAllProps = { children: ReactNode; component?: string | FunctionComponent; className?: string; [key: string]: any; }; export declare class SelectAll extends Component<TSelectAllProps> { static contextType: React.Context<import("./Selectable.types").TSelectableGroupContext>; root: HTMLDivElement | null; componentDidMount(): void; getRootRef: (ref: HTMLDivElement | null) => void; render(): JSX.Element; } export {};