UNPKG
@twilio-paste/paste-reakit-fork
Version:
latest (1.4.1)
1.4.1
Forked Reakit that addresses SSR hydration issues
twilio-labs/paste-reakit
@twilio-paste/paste-reakit-fork
/
ts
/
Composite
/
__utils
/
sortBasedOnDOMPosition.d.ts
7 lines
(6 loc)
•
195 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
*
as
React
from
"react"
;
declare
type
Item
= {
ref
:
React
.
RefObject
<
HTMLElement
|
null
>; };
export
declare
function
sortBasedOnDOMPosition<T
extends
Item
>(
items
: T[]): T[];
export
{};