fix(FloatButton): type error (#7632)
parent
b82d8dd2ad
commit
5c7aaf0dd6
|
@ -20,7 +20,7 @@ export const floatButtonProps = () => {
|
||||||
shape: stringType<FloatButtonShape>('circle'),
|
shape: stringType<FloatButtonShape>('circle'),
|
||||||
tooltip: PropTypes.any,
|
tooltip: PropTypes.any,
|
||||||
href: String,
|
href: String,
|
||||||
target: stringType<'_self' | '_blank' | '_parent' | '_top'>(),
|
target: String,
|
||||||
badge: objectType<FloatButtonBadgeProps>(),
|
badge: objectType<FloatButtonBadgeProps>(),
|
||||||
onClick: functionType<MouseEventHandler>(),
|
onClick: functionType<MouseEventHandler>(),
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue