()
| 115 | const { colsWidth = [] } = element |
| 116 | |
| 117 | const renderColgroup = () => { |
| 118 | const colgroup = [] |
| 119 | for (let i = 0; i < colsWidth.length; i++) { |
| 120 | colgroup.push(<col width={colsWidth[i]} key={i} />) |
| 121 | } |
| 122 | return colgroup.length > 0 ? <colgroup>{colgroup}</colgroup> : null |
| 123 | } |
| 124 | // table width |
| 125 | const tableWidth = React.useMemo(() => { |
| 126 | let width = 0 |
no outgoing calls
no test coverage detected
searching dependent graphs…