Skip to content

Commit c2b197a

Browse files
authored
fix(Table): loading prop type definition (#5964)
1 parent a2f7d6d commit c2b197a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/table/Table.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ export const tableProps = () => {
188188
type: [Boolean, Object] as PropType<false | TablePaginationConfig>,
189189
default: undefined,
190190
},
191-
loading: { type: [Boolean, Object] as PropType<false | SpinProps>, default: undefined },
191+
loading: { type: [Boolean, Object] as PropType<boolean | SpinProps>, default: undefined },
192192
size: { type: String as PropType<SizeType>, default: undefined },
193193
bordered: Boolean,
194194
locale: { type: Object as PropType<TableLocale>, default: undefined },

0 commit comments

Comments
 (0)