fix(FloatButton): type error (#7632)

pull/7636/head
Aaron-zon 2024-06-06 10:03:24 +08:00 committed by GitHub
parent b82d8dd2ad
commit 5c7aaf0dd6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ export const floatButtonProps = () => {
shape: stringType<FloatButtonShape>('circle'),
tooltip: PropTypes.any,
href: String,
target: stringType<'_self' | '_blank' | '_parent' | '_top'>(),
target: String,
badge: objectType<FloatButtonBadgeProps>(),
onClick: functionType<MouseEventHandler>(),
};