diff --git a/src/components/scrolltop/ScrollTop.d.ts b/src/components/scrolltop/ScrollTop.d.ts index 2ac4fff02..eae2bd92e 100644 --- a/src/components/scrolltop/ScrollTop.d.ts +++ b/src/components/scrolltop/ScrollTop.d.ts @@ -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;