UNPKG

@nex-ui/hooks

Version:

A collection of React Hooks for Nex UI components.

9 lines (6 loc) 279 B
import { Dispatch, SetStateAction, RefObject } from 'react'; type UseFocusVisibleProps = { ref: RefObject<HTMLElement | null>; }; declare const useFocusVisible: ({ ref }: UseFocusVisibleProps) => (boolean | Dispatch<SetStateAction<boolean>>)[]; export { useFocusVisible };