Skip to content

Commit

Permalink
fix(FloatButton): type prompt error (#7576)
Browse files Browse the repository at this point in the history
  • Loading branch information
selicens authored Jun 4, 2024
1 parent 014e86b commit 9c27414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/float-button/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const floatButtonProps = () => {
shape: stringType<FloatButtonShape>('circle'),
tooltip: PropTypes.any,
href: String,
target: functionType<() => Window | HTMLElement | null>(),
target: stringType<'_self' | '_blank' | '_parent' | '_top'>(),
badge: objectType<FloatButtonBadgeProps>(),
onClick: functionType<MouseEventHandler>(),
};
Expand Down

0 comments on commit 9c27414

Please sign in to comment.