'use client'; // Chakra imports import { Flex, FormLabel, Input, Text, useColorModeValue, } from '@chakra-ui/react'; export default function Default(props: { id?: string; label?: string; extra?: JSX.Element; placeholder?: string; type?: string; [x: string]: any; }) { const { id, label, extra, placeholder, type, mb, ...rest } = props; // Chakra Color Mode const textColorPrimary = useColorModeValue('navy.700', 'white'); const searchColor = useColorModeValue('gray.700', 'white'); const inputBg = useColorModeValue('transparent', 'navy.800'); const placeholderColor = useColorModeValue( { color: 'gray.500' }, { color: 'whiteAlpha.600' }, ); return ( {label} {extra} ); }