Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@solana/wallet-adapter-ant-design
Advanced tools
# Quick Setup (using Create-React-App with craco-less) See the [example](https://github.com/solana-labs/wallet-adapter/tree/master/packages/example) package for more usage.
@solana/wallet-adapter-ant-design
See the example package for more usage.
craco-less
into the project npm install --save craco-less
.
craco.config.js
file
const CracoLessPlugin = require('craco-less');
module.exports = {
plugins: [
{
plugin: CracoLessPlugin,
options: {
lessLoaderOptions: {
lessOptions: {
modifyVars: { '@primary-color': '#512da8' },
javascriptEnabled: true,
},
},
},
},
],
};
npm install --save \
antd \
@ant-design/icons \
@solana/web3.js \
react
npm install --save \
@solana/wallet-adapter-wallets \
@solana/wallet-adapter-react \
@solana/wallet-adapter-ant-design \
@solana/wallet-adapter-base
Check out usage in the example package.
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
FAQs
# Quick Setup (using Create-React-App with craco-less) See the [example](https://github.com/solana-labs/wallet-adapter/tree/master/packages/example) package for more usage.
The npm package @solana/wallet-adapter-ant-design receives a total of 391 weekly downloads. As such, @solana/wallet-adapter-ant-design popularity was classified as not popular.
We found that @solana/wallet-adapter-ant-design demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 15 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.