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:
John Reilly
2017-10-11 21:29:06 +01:00
committed by GitHub
parent 0ac7980c24
commit df9853bd0b
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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;
+2 -2
View File
@@ -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')
);
);