From 6084b63b196209dc68e9815dbea7ea49bf9e5cc1 Mon Sep 17 00:00:00 2001 From: chancestrickland Date: Thu, 31 Oct 2019 10:48:16 -0700 Subject: [PATCH] slider: add SliderInput to ts defs --- packages/slider/index.d.ts | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/packages/slider/index.d.ts b/packages/slider/index.d.ts index 655c4c748..05a16b90c 100644 --- a/packages/slider/index.d.ts +++ b/packages/slider/index.d.ts @@ -11,8 +11,6 @@ import * as React from "react"; -import { SLIDER_ORIENTATION_HORIZONTAL } from "@reach/slider"; - export enum SliderAlignment { center = "center", contain = "contain" @@ -212,6 +210,15 @@ declare const SliderTrackHighlight: React.FunctionComponent< */ declare const SliderHandle: React.FunctionComponent; +/** + * The parent component of the slider interface. This is a lower level component + * if you need more control over styles or rendering the slider's inner + * components. + * + * @see Docs https://reacttraining.com/reach-ui/slider#sliderinput + */ +declare const SliderInput: React.FunctionComponent; + /** * A fixed value marker. These can be used to illustrate a range of steps or * highlight important points along the slider track.