diff --git a/components/float-button/interface.ts b/components/float-button/interface.ts index 6561910b8..da5b25c2f 100644 --- a/components/float-button/interface.ts +++ b/components/float-button/interface.ts @@ -20,7 +20,7 @@ export const floatButtonProps = () => { shape: stringType('circle'), tooltip: PropTypes.any, href: String, - target: functionType<() => Window | HTMLElement | null>(), + target: stringType<'_self' | '_blank' | '_parent' | '_top'>(), badge: objectType(), onClick: functionType(), };