Fixed #963 - ScrollTop props have wrong type definitions
parent
7e2888012b
commit
eb6460d30c
|
@ -1,12 +1,12 @@
|
||||||
interface ScrollToProps {
|
interface ScrollToProps {
|
||||||
target?: string;
|
target?: string;
|
||||||
threshold?: number;
|
threshold?: number;
|
||||||
icon?: boolean;
|
icon?: string;
|
||||||
behavior?: boolean;
|
behavior?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
declare class ScrollTo {
|
declare class ScrollTop {
|
||||||
$props: ScrollToProps;
|
$props: ScrollToProps;
|
||||||
}
|
}
|
||||||
|
|
||||||
export default ScrollTo;
|
export default ScrollTop;
|
||||||
|
|
Loading…
Reference in New Issue