HotkeyInput
import { HotkeyInput } from '@lobehub/ui';import { HotkeyInput } from '@lobehub/ui';| Name | Description | Type | Default |
|---|---|---|---|
| allowReset | -- | boolean | -- |
| className | -- | string | -- |
| defaultValue | -- | string | -- |
| disabled | -- | boolean | -- |
| hotkeyConflicts | -- | string[] | -- |
| isApple | -- | boolean | -- |
| onBlur | -- | (event:E)=>void | -- |
| onChange | -- | (value:string)=>void | -- |
| onConflict | -- | (conflictKey:string)=>void | -- |
| onFocus | -- | (event:E)=>void | -- |
| onReset | -- | (currentValue:string,resetValue:string)=>void | -- |
| placeholder | -- | string | -- |
| resetValue | -- | string | -- |
| style | -- | {} | -- |
| texts | -- | {conflicts?:string;invalidCombination?:string;reset?:string} | -- |
| value | -- | string | -- |
| variant | -- | "ghost"|"block"|"default"|"pure" | -- |