Browse Source

fix: Transfer `listStyle` to optional property (#31322)

pull/31329/head
Rainy 3 years ago
committed by GitHub
parent
commit
6f0df8d1e4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/transfer/index.tsx

2
components/transfer/index.tsx

@ -70,7 +70,7 @@ export interface TransferProps<RecordType> {
onChange?: (targetKeys: string[], direction: TransferDirection, moveKeys: string[]) => void;
onSelectChange?: (sourceSelectedKeys: string[], targetSelectedKeys: string[]) => void;
style?: React.CSSProperties;
listStyle: ((style: ListStyle) => React.CSSProperties) | React.CSSProperties;
listStyle?: ((style: ListStyle) => React.CSSProperties) | React.CSSProperties;
operationStyle?: React.CSSProperties;
titles?: React.ReactNode[];
operations?: string[];

Loading…
Cancel
Save