Skip to content

Commit

Permalink
slider: add SliderInput to ts defs
Browse files Browse the repository at this point in the history
  • Loading branch information
chaance committed Oct 31, 2019
1 parent 2e652a6 commit 6084b63
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions packages/slider/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@

import * as React from "react";

import { SLIDER_ORIENTATION_HORIZONTAL } from "@reach/slider";

export enum SliderAlignment {
center = "center",
contain = "contain"
Expand Down Expand Up @@ -212,6 +210,15 @@ declare const SliderTrackHighlight: React.FunctionComponent<
*/
declare const SliderHandle: React.FunctionComponent<SliderHandleProps>;

/**
* 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<SliderInputProps>;

/**
* A fixed value marker. These can be used to illustrate a range of steps or
* highlight important points along the slider track.
Expand Down

0 comments on commit 6084b63

Please sign in to comment.