rsuite
Version:
A suite of react components
12 lines (11 loc) • 374 B
TypeScript
import React from 'react';
/**
* Whether the focus is moving inside of current element
* @param event The `focus` event
*/
export declare function isFocusEntering(event: React.FocusEvent): boolean;
/**
* Whether the focus is moving outside of current element
* @param event The `blur` event
*/
export declare function isFocusLeaving(event: React.FocusEvent): boolean;