import { SimpleGrid, Text } from '@metafam/ds'; import { PlayerTile } from 'components/Player/PlayerTile'; import { PlayerFragmentFragment } from 'graphql/autogen/types'; import React from 'react'; type Props = { players: PlayerFragmentFragment[]; }; export const PlayerList: React.FC = ({ players }) => players.length > 0 ? ( {players.map((p) => ( ))} ) : ( No players found );