mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: drop
This commit is contained in:
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>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user