1 | import * as React from 'react';
|
2 | import type { MenuHoverEventHandler } from '../interface';
|
3 | interface ActiveObj {
|
4 | active: boolean;
|
5 | onMouseEnter?: React.MouseEventHandler<HTMLElement>;
|
6 | onMouseLeave?: React.MouseEventHandler<HTMLElement>;
|
7 | }
|
8 | export default function useActive(eventKey: string, disabled: boolean, onMouseEnter?: MenuHoverEventHandler, onMouseLeave?: MenuHoverEventHandler): ActiveObj;
|
9 | export {};
|