Adds WalletSuggestionModal

This commit is contained in:
Kieran Gillen 2022-03-16 13:54:57 +01:00
parent 6b7c9b3ce1
commit fefabfebf9
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,19 @@
import { useWallet } from '@solana/wallet-adapter-react'
import React from 'react'
import Modal from './Modal'
interface Props {
onClose: () => void
isOpen: boolean
}
export const WalletSuggestionModal: React.FC<Props> = ({ isOpen, onClose }) => {
const { wallets } = useWallet()
console.log('wallets', wallets)
return (
<Modal isOpen={isOpen} onClose={onClose}>
<div></div>
</Modal>
)
}

View File

@ -81,5 +81,6 @@ export * from './UiLock'
export * from './UserInfo'
export * from './UserMarketInfo'
export * from './WalletProvider'
export * from './WalletSuggestionModal'
export * from './WithdrawModal'
export * from './WithdrawMsrmModal'