fix: Dark mode on table's Striped and Striped & Bordered table type mode (#4611)

This commit is contained in:
Akarsh Jain 2022-11-17 17:57:05 +05:30 committed by GitHub
parent 1853a3233e
commit 99842877b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -635,7 +635,11 @@ export function Table({
)}
<div className="table-responsive jet-data-table">
<table {...getTableProps()} className={`table table-vcenter table-nowrap ${tableType}`} style={computedStyles}>
<table
{...getTableProps()}
className={`table table-vcenter table-nowrap ${tableType} ${darkMode && 'table-dark'}`}
style={computedStyles}
>
<thead>
{headerGroups.map((headerGroup, index) => (
<DragDropContext