import { useState } from "react"; import { Button, Dropdown, notification } from "antd"; import Image from "next/image"; import { SignerInterface } from "koilib"; import styles from "../app/page.module.css"; import { WalletName, connectWallet, disconnectWallet, getWalletSigner, } from "../koinos/wallets"; import kondorLogo from "./images/kondor-logo.png"; import walletConnectLogo from "./images/wallet-connect-logo.png"; import mkwLogo from "./images/mkw-logo.png"; function shortAddress(address: string): string { return `${address.slice(0, 4)}...${address.slice(address.length - 4)}`; } export const HeaderComponent = (props: { onChange?: (signer: SignerInterface | undefined) => void; }) => { const [addr, setAddr] = useState(""); const [walletName, setWalletName] = useState( undefined, ); return ( ); };