diff --git a/components/transfer/index.tsx b/components/transfer/index.tsx index 10a32e3110..da45e0cd92 100644 --- a/components/transfer/index.tsx +++ b/components/transfer/index.tsx @@ -70,7 +70,7 @@ export interface TransferProps { 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[];