mirror of
https://github.com/zhigang1992/react.git
synced 2026-04-23 20:00:56 +08:00
* feat: export all types related to components fix(tooltip): fix the vertical offset of the arrow * refactor: optimize events of all popup related components * test: append testcases for popup base component * test: add testcase for visible events * test: update snapshots
12 lines
250 B
TypeScript
12 lines
250 B
TypeScript
import useKeyboard from './use-keyboard'
|
|
import { KeyMod, KeyCode } from './codes'
|
|
|
|
export { KeyMod, KeyCode }
|
|
export type {
|
|
UseKeyboardHandler,
|
|
KeyboardOptions,
|
|
KeyboardResult,
|
|
UseKeyboard,
|
|
} from './use-keyboard'
|
|
export default useKeyboard
|