UNPKG

@lobehub/ui

Version:

Lobe UI is an open-source UI component library for building AIGC web apps

21 lines (20 loc) 614 B
import { type CSSProperties } from 'react'; import { type FlexboxProps } from 'react-layout-kit'; export interface HotkeyProps extends Omit<FlexboxProps, 'children'> { classNames?: { descClassName?: string; kbdClassName?: string; }; compact?: boolean; inverseTheme?: boolean; isApple?: boolean; keys: string; styles?: { descStyle?: CSSProperties; kbdStyle?: CSSProperties; }; } declare const Hotkey: import("react").NamedExoticComponent<HotkeyProps>; export default Hotkey; export { KeyMapEnum } from './type'; export { combineKeys } from './utils';