Skip to content

SliderSharedProps — @gj-kit/expo-ui

A public interface from @gj-kit/expo-ui. The signature below is taken directly from the 0.8.1 release declaration.

import { SliderSharedProps } from '@gj-kit/expo-ui';
interface SliderSharedProps extends CommonProps {
/** Inclusive lower bound. Default 0. */
min?: number | undefined;
/** Inclusive upper bound. Default 100. */
max?: number | undefined;
/** Smallest interactive increment. Default 1. */
step?: number | undefined;
/** Disables pointer, keyboard and native accessibility actions. */
disabled?: boolean | undefined;
/** Horizontal coordinate and left/right arrow meaning. Default ltr. */
direction?: SliderDirection | undefined;
/** Optional localized text for each thumb's accessibility value. */
valueText?: ((value: number) => string) | undefined;
/** Root style escape hatch. */
style?: StyleProp<ViewStyle> | undefined;
/** Track-only style escape hatch. */
trackStyle?: StyleProp<ViewStyle> | undefined;
trackClassName?: string | undefined;
/** Active range-only style escape hatch. */
rangeStyle?: StyleProp<ViewStyle> | undefined;
rangeClassName?: string | undefined;
/** Applied to every thumb hit target. */
thumbStyle?: StyleProp<ViewStyle> | undefined;
thumbClassName?: string | undefined;
}

This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.

  • Package: @gj-kit/expo-ui
  • Version: 0.8.1
  • Public entry: .
  • Source: GitHub