import styled from '@emotion/styled' import useWalletStore from '../stores/useWalletStore' import { WALLET_PROVIDERS, DEFAULT_PROVIDER } from '../hooks/useWallet' import useLocalStorageState from '../hooks/useLocalStorageState' import WalletSelect from './WalletSelect' import WalletIcon from './WalletIcon' import Button from './Button' const StyledWalletTypeLabel = styled.div` font-size: 0.6rem; ` const ConnectWalletButton = () => { const wallet = useWalletStore((s) => s.current) const [savedProviderUrl] = useLocalStorageState( 'walletProvider', DEFAULT_PROVIDER.url ) return (
) } export default ConnectWalletButton export const ConnectWalletButtonSmall = ({ children, onClick }) => (
)