diff --git a/src/components/Table/src/types/table.ts b/src/components/Table/src/types/table.ts index 3f0f40af07a2547cb8e12c5aea083f943920e8ae..e34a3a982899119d1cff24f4b771db3e0700b7e3 100644 --- a/src/components/Table/src/types/table.ts +++ b/src/components/Table/src/types/table.ts @@ -310,7 +310,8 @@ export interface BasicTableProps { * you need to add style .ant-table td { white-space: nowrap; }. * @type object */ - scroll?: { x?: number | true; y?: number }; + scroll?: { x?: number | string | true; y?: number | string }; + /** * Whether to show table header