Skip to content

Commit

Permalink
Merge pull request #732 from Tencent/fix/table-expanded-row-type
Browse files Browse the repository at this point in the history
fix(Table):`renderExpandedRow`改为非必填
  • Loading branch information
honkinglin authored May 7, 2022
2 parents 8b99c67 + 211cdb9 commit 784e6c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/table/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export interface BaseTableProps extends TdBaseTableProps, StyledProps {
/**
* 渲染展开行,非公开属性,请勿在业务中使用
*/
renderExpandedRow: (params: TableExpandedRowParams<TableRowData>) => ReactFragment;
renderExpandedRow?: (params: TableExpandedRowParams<TableRowData>) => ReactFragment;
}

/**
Expand Down

0 comments on commit 784e6c7

Please sign in to comment.