Files
2026-04-01 15:52:53 -07:00

39 lines
1.0 KiB
TypeScript

import { i18n } from "@lingui/core";
import { t } from "@lingui/macro";
//import Web3Status from "components/Web3Status";
//import { useActiveWeb3React } from "hooks";
import React, { FC } from "react";
import { ChevronLeft } from "react-feather";
interface BidModalHeaderProps {
className?: string;
onBack: () => void;
showAccount?: boolean;
}
const BidModalHeader: FC<BidModalHeaderProps> = ({
className = "",
onBack = undefined,
showAccount,
}) => {
//const { account } = useActiveWeb3React();
return (
<div className={`flex items-center justify-between mb-4 ${className}`}>
<div
onClick={onBack}
className="z-10 flex items-center justify-center bg-black rounded-full shadow-2xl cursor-pointer h-14 w-14"
>
<ChevronLeft
width={30}
height={30}
className="text-white "
fill="#f2f2f2"
/>
</div>
{/*showAccount && <Web3Status title={i18n._(t`Connect Wallet`)} />*/}
</div>
);
};
export default BidModalHeader;