Skip to content

Commit

Permalink
fix(Table): table d.ts add wordBreak props (alibaba-fusion#3960)
Browse files Browse the repository at this point in the history
  • Loading branch information
lakerswgq authored Jun 21, 2022
1 parent 6f6b3f1 commit 5163641
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions types/table/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ export interface ColumnProps extends HTMLAttributesWeak, CommonProps {
* header cell 横跨的格数,设置为0表示不出现此 th
*/
colSpan?: number;

/**
* 设置该列单元格的word-break样式,对于id类、中文类适合用all,对于英文句子适合用word
*/
wordBreak?: 'all' | 'word';
}

export class Column extends React.Component<ColumnProps, any> {}
Expand Down

0 comments on commit 5163641

Please sign in to comment.