@dechains/wallet-modal
v0.0.3
Published
```bash import WalletModalWrapper from "wallet-modal"; import "@dechains/wallet-modal/dist/style.css" ``` ## Usage/Examples
Downloads
9
Readme
@dechains/wallet-modal
Useage
import WalletModalWrapper from "wallet-modal";
import "@dechains/wallet-modal/dist/style.css"
Usage/Examples
import Component from 'my-project'
function App() {
return <WalletModalWrapper supportedChainIds={[97]} defaultChainId={97}>
<Component />
</WalletModalWrapper>
}
Props
- supportedChainIds
- defaultChainId
- theme
| Parameter | Type
| :-------- | :-------
| containerStyle
| React.CSSProperties
| cardStyle
| React.CSSProperties
| mainHeadingStyle
| React.CSSProperties
| overlayStyle
| React.CSSProperties
| modalContentStyle
| React.CSSProperties
| walletCardTextStyle
| React.CSSProperties
| walletNotSeeStyle
| React.CSSProperties
| walletNotSeeTextStyle
| React.CSSProperties