Fixed #963 - ScrollTop props have wrong type definitions

pull/1021/head
Cagatay Civici 2021-02-17 18:13:18 +03:00
parent 7e2888012b
commit eb6460d30c
1 changed files with 4 additions and 4 deletions

View File

@ -1,12 +1,12 @@
interface ScrollToProps {
target?: string;
threshold?: number;
icon?: boolean;
behavior?: boolean;
icon?: string;
behavior?: string;
}
declare class ScrollTo {
declare class ScrollTop {
$props: ScrollToProps;
}
export default ScrollTo;
export default ScrollTop;