UNPKG

@gorhom/bottom-sheet

Version:

A performant interactive bottom sheet with fully configurable options 🚀

7 lines (5 loc) • 194 B
import type { RefObject } from 'react'; import { findNodeHandle } from 'react-native'; export function getRefNativeTag(ref: RefObject<never>) { return findNodeHandle(ref?.current) || null; }