import { Input, FormControl, FormLabel, } from '@chakra-ui/react'; import React from 'react'; import type { ControllerRenderProps, FieldError, FieldValues } from 'react-hook-form'; import getPlaceholderWithError from 'lib/getPlaceholderWithError'; import { TRANSACTION_HASH_LENGTH } from 'lib/validations/transaction'; type Props = { field: Field; error?: FieldError; backgroundColor?: string; } function TransactionInput>>({ field, error, backgroundColor }: Props) { return ( { getPlaceholderWithError('Transaction hash (0x...)', error?.message) } ); } export default TransactionInput;