UNPKG

react-customize-token-input

Version:

A react token (tag) input component. Allow customize data structure and Look & Feel

13 lines (12 loc) 420 B
import React from 'react'; interface ActionFunction { (keyDownEvent: React.KeyboardEvent): void; } interface KeyDownHandlerProxyActions { onBackspace?: ActionFunction; onTab?: ActionFunction; onEnter?: ActionFunction; onEscape?: ActionFunction; } declare const keyDownHandlerProxy: (keyDownEvent: React.KeyboardEvent, actions: KeyDownHandlerProxyActions) => void; export default keyDownHandlerProxy;