chore<table>: fix type (#2528)
This commit is contained in:
parent
085929a9c0
commit
ce0f528ba8
|
|
@ -310,7 +310,8 @@ export interface BasicTableProps<T = any> {
|
|||
* 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
|
||||
|
|
|
|||
Loading…
Reference in New Issue