mirror of
https://github.com/streamich/react-use.git
synced 2026-01-25 14:17:16 +00:00
5 lines
425 B
TypeScript
5 lines
425 B
TypeScript
import * as React from 'react';
|
|
export declare type Element = ((state: boolean) => React.ReactElement<any>) | React.ReactElement<any>;
|
|
declare const useHover: (element: Element) => [React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>, boolean];
|
|
export default useHover;
|