Update Test.tsx

This commit is contained in:
2026-01-27 21:03:57 +00:00
parent b41273510c
commit bb125dbc87

View File

@@ -2,8 +2,7 @@ import Icon, { iconNames, iconStyles } from "@/components/ui/icon";
function Test() { function Test() {
return ( return (
<main className="w-full min-h-[100vh] flex flex-col justify-center items-center p-4"> <main className="w-full min-h-[100vh] flex flex-col justify-center items-center text-center p-4">
<div>
<div className="overflow-x-auto"> <div className="overflow-x-auto">
<table className="border-collapse"> <table className="border-collapse">
<thead> <thead>
@@ -16,10 +15,7 @@ function Test() {
Name Name
</th>, </th>,
...iconStyles.map((iconStyle) => ( ...iconStyles.map((iconStyle) => (
<th <th key={`${iconStyle}-${groupNumber}`} className="text-center p-2 font-medium capitalize">
key={`${iconStyle}-${groupNumber}`}
className="text-center p-2 font-medium capitalize"
>
{iconStyle} {iconStyle}
</th> </th>
)), )),
@@ -52,7 +48,6 @@ function Test() {
</tbody> </tbody>
</table> </table>
</div> </div>
</div>
</main> </main>
); );
} }