[@types/react-rangeslider] handleLabel type fix (#36742)

Based on the component definition, the handleLabel as a string. 

See: https://github.com/whoisandy/react-rangeslider/blob/master/src/Rangeslider.js#L39
This commit is contained in:
Tomáš Hylský 2019-07-10 01:29:50 +02:00 committed by Armando Aguirre
parent 2105aaf1fe
commit 39f354c062

View File

@ -9,7 +9,7 @@ import * as React from 'react';
export interface SliderProps {
disabled?: boolean;
format?: (value: number) => string | number | undefined;
handleLabel?: boolean;
handleLabel?: string;
labels?: { [value: number]: string };
max?: number;
min?: number;