segmented-picker-aned
Version:
Selection picker wheel with multi-column support and optional native dependencies.
34 lines (33 loc) • 884 B
TypeScript
/**
* Time in milliseconds for the list to fade in and out when displayed.
*/
export declare const ANIMATION_TIME = 300;
/**
* Fixed sizing for list items and other UI elements.
*/
export declare const GUTTER_WIDTH = 18;
export declare const GUTTER_HEIGHT = 5;
export declare const ITEM_HEIGHTS: {
ios: number;
default: number;
};
export declare const TEXT_CORRECTION = 2;
/**
* Constants used for automatically generated Test ID's (used for E2E testing).
*/
export declare const TEST_IDS: {
PICKER: string;
CONFIRM_BUTTON: string;
CLOSE_AREA: string;
};
/**
* Measurement and internal lifecycle tracking states.
*/
export declare const TRACKING: {
FLAT_LIST_REF: string;
LAST_SCROLL_OFFSET: string;
SCROLL_DIRECTION: string;
IS_DRAGGING: string;
IS_MOMENTUM_SCROLLING: string;
IS_DIRTY: string;
};