Skip to content

Commit

Permalink
fix(Table): 修复Table indentSize 传递0失效问题 (#708)
Browse files Browse the repository at this point in the history
  • Loading branch information
cuilanxin committed Mar 23, 2022
1 parent 419d283 commit cd312ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-table/src/index.tsx
Expand Up @@ -284,7 +284,7 @@ export default function Table<T extends { [key: string]: V }, V>(props: TablePro
onCell={onCell}
hierarchy={0}
isExpandedDom={isExpandedDom}
indentSize={expandable?.indentSize || 16}
indentSize={typeof expandable?.indentSize === 'number' ? expandable?.indentSize : 16}
childrenColumnName={expandable?.childrenColumnName || 'children'}
/>
</tbody>
Expand Down

0 comments on commit cd312ac

Please sign in to comment.