UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

9 lines (8 loc) 314 B
import React from 'react'; interface Options { active: boolean | undefined; onTrigger?: () => void; onKeyDown?: (event: React.KeyboardEvent<any>) => void; } export declare function closeOnEscape(callback?: (event: any) => void, options?: Options): (event: React.KeyboardEvent<any>) => void; export {};