@pk-design/react-ui-kit
Version:
Reusable react components
29 lines (28 loc) • 1.12 kB
TypeScript
/**
* Common (non-printable) keycodes for `keydown` and `keyup` events. Note that
* `keypress` handles things differently and may not return the same values.
*/
export declare const BACKSPACE = "Backspace";
export declare const TAB = "Tab";
export declare const RETURN = "Enter";
export declare const ESC = "Escape";
export declare const SPACE = " ";
export declare const LEFT = "ArrowLeft";
export declare const UP = "ArrowUp";
export declare const RIGHT = "ArrowRight";
export declare const DOWN = "ArrowDown";
export declare const DEFAULT_LABELKEY = "label";
export declare const ACTUAL_VALUE = "actual_value";
export declare const MAXIMUM_DROPDOWN_HEIGHT = 200;
export declare const MINIMUM_DROPDOWN_WIDTH = 100;
export declare const SELECT_HEIGHT = 32;
export declare const SELECT_WIDTH = "100%";
export declare const DROPDOWN_ITEM_HEIGHT = 30;
export declare const HEIGHT_MAP: {
small: number;
default: number;
large: number;
};
export declare const OPTIONS_PROPS: string[];
export declare const ACTIVE_INDEX_PROPS: string[];
export declare const ANIMATION_TIMER = 220;