@yamada-ui/react
Version:
React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion
16 lines (14 loc) • 443 B
TypeScript
import * as react22 from "react";
//#region src/hooks/use-hover/index.d.ts
/**
* `useHover` is a custom hook that detects whether the pointer has moved over or away from an element.
*
* @see https://yamada-ui.com/docs/hooks/use-hover
*/
declare const useHover: <Y extends HTMLElement = HTMLDivElement>() => {
ref: react22.RefObject<Y | null>;
hovered: boolean;
};
//#endregion
export { useHover };
//# sourceMappingURL=index.d.ts.map