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

pull/6019/head
bqy_fe 2022-09-26 21:34:34 +08:00 committed by GitHub
parent a2f7d6d062
commit c2b197a443
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 },