Commit ce0f528ba8950e6e34cc929069e89aa6fd09c9a9

Authored by luocong2016
Committed by GitHub
1 parent 085929a9

chore<table>: fix type (#2528)

src/components/Table/src/types/table.ts
... ... @@ -310,7 +310,8 @@ export interface BasicTableProps&lt;T = any&gt; {
310 310 * you need to add style .ant-table td { white-space: nowrap; }.
311 311 * @type object
312 312 */
313   - scroll?: { x?: number | true; y?: number };
  313 + scroll?: { x?: number | string | true; y?: number | string };
  314 +
314 315  
315 316 /**
316 317 * Whether to show table header
... ...