UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

8 lines (7 loc) 287 B
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 {};