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
20 lines
450 B
TypeScript
20 lines
450 B
TypeScript
import { Select, SelectProps } from '@chakra-ui/react';
|
|
import React from 'react';
|
|
|
|
import { DropDownIcon } from './icons/DropDownIcon';
|
|
|
|
export const MetaSelect: React.FC<SelectProps> = (props) => (
|
|
<Select
|
|
textTransform="uppercase"
|
|
maxW="48"
|
|
bg="dark"
|
|
iconColor="purple.400"
|
|
iconSize="xs"
|
|
icon={<DropDownIcon boxSize={2} />}
|
|
borderColor="purple.400"
|
|
borderWidth="2px"
|
|
borderRadius="4px"
|
|
{...props}
|
|
/>
|
|
);
|