import React from 'react' import { useDisclosure } from '@mantine/hooks' import { IconSearch } from '@tabler/icons-react' import { Button, Card, Flex, Image, Modal, NativeSelect, Text, TextInput, Title } from '@mantine/core' import FriendsList from '../../components/FriendsList' import Challenges from '../../components/Challenges' const PlayFriend = () => { const [opened, { open, close }] = useDisclosure(false); return ( <> Create Challenge Link} centered> Start a game with anyone
I play as} placeholder='choose your color' data={[ { value: 'W', label: 'White' }, { value: 'B', label: 'Black' }, { value: 'RANDOM', label: 'Random' } ]} />
Play a Friend } /> ) } // const friends = [ // { avatar: , username: "friend", rating: 100 }, // { avatar: , username: "friend", rating: 100 }, // { avatar: , username: "friend", rating: 100 }, // { avatar: , username: "friend", rating: 100 }, // ] export default PlayFriend