UNPKG

@kubit-ui-web/react-components

Version:

Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience

11 lines (10 loc) 442 B
import React from 'react'; type UseEscPressedV2ParamsType = { ref: React.RefObject<HTMLElement>; onEscPress: (event: KeyboardEvent) => void; disablePreventDefault?: boolean; disableStopPropagation?: boolean; }; type UseEscPressedV2ReturnType = void; export declare const useEscPressedV2: ({ ref, onEscPress, disablePreventDefault, disableStopPropagation, }: UseEscPressedV2ParamsType) => UseEscPressedV2ReturnType; export {};