diff --git a/assets/js/common/Table/CollapsibleTableRow.jsx b/assets/js/common/Table/CollapsibleTableRow.jsx index 2d995b180c..a86095facf 100644 --- a/assets/js/common/Table/CollapsibleTableRow.jsx +++ b/assets/js/common/Table/CollapsibleTableRow.jsx @@ -1,5 +1,6 @@ import React, { Fragment, useState } from 'react'; import classNames from 'classnames'; +import { EOS_KEYBOARD_ARROW_DOWN } from 'eos-icons-react'; function CollapsibleTableRow({ columns, @@ -11,30 +12,39 @@ function CollapsibleTableRow({ collapsedRowClassName, }) { const [rowExpanded, toggleRow] = useState(false); + const collapsibleRowSpan = collapsibleDetailRenderer ? colSpan + 1 : colSpan; return ( <> -
+ )} {columns.map( ({ title, @@ -214,6 +223,7 @@ function Table({ ? 'cursor-pointer hover:text-gray-700 ' : '' }px-5 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider bg-gray-100`, + headerClassName, columnClassName )} onClick={handleClick} @@ -231,7 +241,11 @@ function Table({ |
---|