mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
[@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:
parent
2105aaf1fe
commit
39f354c062
2
types/react-rangeslider/index.d.ts
vendored
2
types/react-rangeslider/index.d.ts
vendored
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user