feat: drop

This commit is contained in:
tresabhi committed 2024-11-17 16:34:18 -06:00
1 parent 0db4be4d20
commit d851a05f53
10 files changed
+204 -39

No files matched your search

@@ -0,0 +1,12 @@
import type { VarName } from '../../../core/radix/var';
export const tierListRows: {
name: string;
color: VarName;
}[] = [
{ name: 'S', color: 'tomato-9' },
{ name: 'A', color: 'orange-9' },
{ name: 'B', color: 'amber-9' },
{ name: 'C', color: 'green-9' },
{ name: 'D', color: 'blue-9' },
];
@@ -0,0 +1,15 @@
import { Table } from '@radix-ui/themes';
import { TierListRow } from '../Row';
import { tierListRows } from './constants';
export function TierListTable() {
return (
<Table.Root variant="surface">
<Table.Body>
{tierListRows.map((_, index) => (
<TierListRow index={index} key={index} />
))}
</Table.Body>
</Table.Root>
);
}