Skip to content

Commit 5c7aaf0

Browse files
authored
fix(FloatButton): type error (#7632)
1 parent b82d8dd commit 5c7aaf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/float-button/interface.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const floatButtonProps = () => {
2020
shape: stringType<FloatButtonShape>('circle'),
2121
tooltip: PropTypes.any,
2222
href: String,
23-
target: stringType<'_self' | '_blank' | '_parent' | '_top'>(),
23+
target: String,
2424
badge: objectType<FloatButtonBadgeProps>(),
2525
onClick: functionType<MouseEventHandler>(),
2626
};

0 commit comments

Comments
 (0)