mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 14:13:37 +08:00
chore: fix listStyle type, #31322
This commit is contained in:
parent
7b16310699
commit
10a8490b1f
@ -301,7 +301,7 @@ class Transfer<RecordType extends TransferItem = TransferItem> extends React.Com
|
||||
}
|
||||
|
||||
handleListStyle = (
|
||||
listStyle: ((style: ListStyle) => React.CSSProperties) | React.CSSProperties,
|
||||
listStyle: TransferProps<RecordType>['listStyle'],
|
||||
direction: TransferDirection,
|
||||
) => {
|
||||
if (typeof listStyle === 'function') {
|
||||
|
Loading…
Reference in New Issue
Block a user