0.11.17 • Published 10 months ago
@solarti/wallet-adapter-ant-design v0.11.17
@solarti/wallet-adapter-ant-design
Derived from and credit to @solana/wallet-adapter
Quick Setup (using Create-React-App with craco-less)
See the example package for more usage.
Install
- Set up craco if you haven't already using the following guide.
- Add
craco-less
into the projectnpm install --save craco-less
.- Add it to the
craco.config.js
fileconst CracoLessPlugin = require('craco-less'); module.exports = { plugins: [ { plugin: CracoLessPlugin, options: { lessLoaderOptions: { lessOptions: { modifyVars: { '@primary-color': '#512da8' }, javascriptEnabled: true, }, }, }, }, ], };
- Add it to the
- Install these peer dependencies (or skip this if you have them already):
npm install --save \
antd \
@ant-design/icons \
@solarti/web3.js \
react
- Install these dependencies:
npm install --save \
@solarti/wallet-adapter-wallets \
@solarti/wallet-adapter-react \
@solarti/wallet-adapter-ant-design \
@solarti/wallet-adapter-base
Usage
Check out usage in the example package.
Overrides
You can override the following elements from the stylesheet:
.wallet-adapter-icon
.wallet-adapter-modal-menu
.wallet-adapter-modal-menu-item
.wallet-adapter-modal-menu-button
.wallet-adapter-modal-menu-button-icon
.wallet-adapter-multi-button-menu
.wallet-adapter-multi-button-menu-item
.wallet-adapter-multi-button-menu-button
.wallet-adapter-multi-button-icon
.wallet-adapter-multi-button-item
0.11.17
10 months ago
0.11.16
2 years ago
0.11.16-rc.3
2 years ago
0.11.16-alpha-2
2 years ago
0.11.16-alpha-1
2 years ago
0.11.15
2 years ago