@colisweb/rescript-toolkit 5.30.4 → 5.30.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -51,6 +51,7 @@ module Core = {
|
|
|
51
51
|
~emptyMessage,
|
|
52
52
|
~additionalRow: option<(ReactTable.instanceRow<'a>, 'a) => React.element>=?,
|
|
53
53
|
~trClassName="",
|
|
54
|
+
~tdClassName="",
|
|
54
55
|
) =>
|
|
55
56
|
<div className={cx([className, "flex flex-auto w-full overflow-x-auto relative"])}>
|
|
56
57
|
<Toolkit__Ui_Spread props={table.getTableProps()}>
|
|
@@ -63,7 +64,10 @@ module Core = {
|
|
|
63
64
|
? <Toolkit__Ui_Spread
|
|
64
65
|
key={"thead-th" ++ index->Int.toString} props={column.getHeaderProps()}>
|
|
65
66
|
<td
|
|
66
|
-
className=
|
|
67
|
+
className={cx([
|
|
68
|
+
tdClassName,
|
|
69
|
+
"px-2 pt-2 border-b border-r border-gray-300 xl:min-h-[5rem]",
|
|
70
|
+
])}
|
|
67
71
|
key={"thead-thd" ++ index->Int.toString}>
|
|
68
72
|
<Toolkit__Ui_Spread props={column.getSortByToggleProps()}>
|
|
69
73
|
<div
|