From b87b1283ea5e34dbf54cb52cc510989608383994 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E9=94=A6=E4=BD=99?= Date: Mon, 18 May 2020 14:00:19 +0800 Subject: [PATCH] fix: BackTop children type (#24235) --- components/back-top/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/back-top/index.tsx b/components/back-top/index.tsx index b9962c94d396..f5e919550610 100644 --- a/components/back-top/index.tsx +++ b/components/back-top/index.tsx @@ -13,6 +13,7 @@ export interface BackTopProps { onClick?: React.MouseEventHandler; target?: () => HTMLElement | Window | Document; prefixCls?: string; + children?: React.ReactNode; className?: string; style?: React.CSSProperties; visible?: boolean; // Only for test. Don't use it.