react-native-a11y-slider
Version:
An accessible range slider that supports assistive devices like screen readers
20 lines • 706 B
JavaScript
/**
* The type of slider this is.
*/
export var SliderType;
(function (SliderType) {
/** The slider ony has one marker thumb and is defining a single value */
SliderType[SliderType["SINGLE"] = 0] = "SINGLE";
/** The slider has two marker thumbs and defines a min and max value */
SliderType[SliderType["RANGE"] = 1] = "RANGE";
})(SliderType || (SliderType = {}));
/**
* Defines the type of marker thumb.
* Either the lower value or the upper value in the range.
*/
export var MarkerType;
(function (MarkerType) {
MarkerType[MarkerType["LOWER"] = 0] = "LOWER";
MarkerType[MarkerType["UPPER"] = 1] = "UPPER";
})(MarkerType || (MarkerType = {}));
//# sourceMappingURL=types.js.map