Fixed #963 - ScrollTop props have wrong type definitions
parent
7e2888012b
commit
eb6460d30c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue