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>
|
<tbody>
|
||||||
{items.map((row, index) => (
|
{items.map((row, index) => (
|
||||||
<tr className={index % 2 ? "bg-white" : "bg-gray-50"} key={index}>
|
<tr className={index % 2 ? "bg-white" : "bg-gray-50"} key={index}>
|
||||||
{headers.map(({ key, formatter, nowrap }) => (
|
{headers.map(({ key, formatter, nowrap = true }) => (
|
||||||
<td
|
<td
|
||||||
key={key}
|
key={key}
|
||||||
className={`${nowrap ? "whitespace-nowrap" : ""} px-6 py-4 text-sm font-medium text-gray-900`}
|
className={`${nowrap ? "whitespace-nowrap" : ""} px-6 py-4 text-sm font-medium text-gray-900`}
|
||||||
|
|
Reference in New Issue