mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-02-11 06:24:56 -05:00
* player filters for type and skills * fetching multiple players in parallel * removed tile fragment * search by username or address * better spacing * availability filter * timezone filter * passing tests in ds * submit form in search bar * added better labels for timezone * fixed test issue * searching only if search >= 2 char * meta select ds * updated metabutton bg color * parallel for > 50 only * fix reset search filter
21 lines
495 B
TypeScript
21 lines
495 B
TypeScript
import { SimpleGrid } from '@metafam/ds';
|
|
import { GuildTile } from 'components/Guild/GuildTile';
|
|
import { GuildFragmentFragment } from 'graphql/autogen/types';
|
|
import React from 'react';
|
|
|
|
type Props = {
|
|
guilds: GuildFragmentFragment[];
|
|
};
|
|
|
|
export const GuildList: React.FC<Props> = ({ guilds }) => (
|
|
<SimpleGrid
|
|
columns={[1, null, 2, 3]}
|
|
spacing="6"
|
|
autoRows="minmax(25rem, auto)"
|
|
>
|
|
{guilds.map((p) => (
|
|
<GuildTile key={p.id} guild={p} />
|
|
))}
|
|
</SimpleGrid>
|
|
);
|