test
This commit is contained in:
parent
8902e24b12
commit
c225bc38ad
|
@ -59,7 +59,7 @@ export default function Table({ items, count, headers, actions, offset, setOffse
|
|||
<tbody>
|
||||
{items.map((row, index) => (
|
||||
<tr className={index % 2 ? "bg-white" : "bg-gray-50"} key={index}>
|
||||
{headers.map(({ key, formatter, nowrap }) => (
|
||||
{headers.map(({ key, formatter, nowrap = true }) => (
|
||||
<td
|
||||
key={key}
|
||||
className={`${nowrap ? "whitespace-nowrap" : ""} px-6 py-4 text-sm font-medium text-gray-900`}
|
||||
|
|
Reference in New Issue