mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
rc-slider: attempt to fix issues (#20502)
* attempt to fix issues * newline at end of test (needlessly picky I think)
This commit is contained in:
Vendored
+1
-1
@@ -165,4 +165,4 @@ export class Range extends React.Component<RangeProps> { }
|
||||
export class Handle extends React.Component<HandleProps> { }
|
||||
|
||||
export function createSliderWithTooltip(slider: typeof Slider): new() => Slider;
|
||||
export function createSliderWithTooltip(range: typeof Range): new() => Range;
|
||||
export function createSliderWithTooltip(range: typeof Range): new() => Range;
|
||||
|
||||
@@ -55,6 +55,6 @@ ReactDOM.render(
|
||||
);
|
||||
|
||||
ReactDOM.render(
|
||||
<RangeWithTooltip defaultValue={1} max={2} step={0.01} min={0.01} />,
|
||||
<RangeWithTooltip defaultValue={[1]} max={2} step={0.01} min={0.01} />,
|
||||
document.querySelector('.app')
|
||||
);
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user