UNPKG

reakit

Version:

Toolkit for building accessible rich web apps with React

7 lines (6 loc) 195 B
import * as React from "react"; declare type Item = { ref: React.RefObject<HTMLElement | null>; }; export declare function sortBasedOnDOMPosition<T extends Item>(items: T[]): T[]; export {};