UNPKG

@nextui-org/react-utils

Version:

A set of utilities for react on client side

70 lines (68 loc) 1.15 kB
"use client"; import { createContext } from "./chunk-3XT5V4LF.mjs"; import { getCSSStyleVal, getRealShape } from "./chunk-LL7CBZ2S.mjs"; import { areRectsIntersecting, canUseDOM, createDOMRef, createFocusableRef, detectBrowser, detectDeviceType, detectOS, detectTouch, getUserAgentBrowser, getUserAgentOS, isBrowser, useDOMRef, useFocusableRef, useSyncRef } from "./chunk-RQNQ5XFG.mjs"; import { assignRef, mergeRefs } from "./chunk-CIZQCQPA.mjs"; import { useIsHydrated } from "./chunk-6UBKM7F3.mjs"; // src/index.ts import { DOMPropNames, DOMEventNames, getValidChildren, pickChildren, renderFn, filterDOMProps } from "@nextui-org/react-rsc-utils"; export { DOMEventNames, DOMPropNames, areRectsIntersecting, assignRef, canUseDOM, createContext, createDOMRef, createFocusableRef, detectBrowser, detectDeviceType, detectOS, detectTouch, filterDOMProps, getCSSStyleVal, getRealShape, getUserAgentBrowser, getUserAgentOS, getValidChildren, isBrowser, mergeRefs, pickChildren, renderFn, useDOMRef, useFocusableRef, useIsHydrated, useSyncRef };