fix: Spin tip can be react node (#32733)

Though this may be opposed to the design. It may be useful to people who want to have complicated tip content.
This commit is contained in:
Jiajun Chen 2021-11-05 18:44:49 +08:00 committed by GitHub
parent fa65cd3ebf
commit 10a8578bf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ export interface SpinProps {
spinning?: boolean;
style?: React.CSSProperties;
size?: SpinSize;
tip?: string;
tip?: React.ReactNode;
delay?: number;
wrapperClassName?: string;
indicator?: SpinIndicator;