Context.d.ts 432 B

123456789
  1. import type { SliderProps as RcSliderProps } from 'rc-slider';
  2. import type { DirectionType } from '../config-provider';
  3. export interface SliderInternalContextProps {
  4. handleRender?: RcSliderProps['handleRender'];
  5. direction?: DirectionType;
  6. }
  7. /** @private Internal context. Do not use in your production. */
  8. declare const SliderInternalContext: React.Context<SliderInternalContextProps>;
  9. export default SliderInternalContext;