fix(Table): loading prop type definition (#5964)

pull/6019/head
bqy_fe 2 years ago committed by GitHub
parent a2f7d6d062
commit c2b197a443
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -188,7 +188,7 @@ export const tableProps = () => {
type: [Boolean, Object] as PropType<false | TablePaginationConfig>,
default: undefined,
},
loading: { type: [Boolean, Object] as PropType<false | SpinProps>, default: undefined },
loading: { type: [Boolean, Object] as PropType<boolean | SpinProps>, default: undefined },
size: { type: String as PropType<SizeType>, default: undefined },
bordered: Boolean,
locale: { type: Object as PropType<TableLocale>, default: undefined },

Loading…
Cancel
Save