components/upload/style/list.ts
Function genListStyle
has 95 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const genListStyle: GenerateStyle<UploadToken> = (token) => {
const { componentCls, antCls, iconCls, fontSize, lineHeight, calc } = token;
const itemCls = `${componentCls}-list-item`;
const actionsCls = `${itemCls}-actions`;
const actionCls = `${itemCls}-action`;