Semantic-ui-react - Table Cell Colspan

Kit*_*son 7 semantic-ui semantic-ui-react

如何semantic-ui-react在html表中使用colspan通常合并几个单元格?

https://react.semantic-ui.com/collections/table#types-pagination

我尝试了不同的选择 - 似乎没有任何帮助!!

在此输入图像描述

小智 14

colSpan属性的值必须是引号("3")或花括号({3}).否则它将是一个不正确的React JSX语法.

<Table.Cell colSpan="3">

要么

<Table.Cell colSpan={3}>