UNPKG

mui-tiptap

Version:

A Material-UI (MUI) styled WYSIWYG rich text editor, using Tiptap

3 lines (2 loc) 168 B
/** When the given key is pressed down, execute the given callback. */ export default function useKeyDown(key: string, callback: (event: KeyboardEvent) => void): void;