@dynamic-labs/iconic
Advanced tools
Comparing version 0.1.41 to 0.1.42
{ | ||
"name": "@dynamic-labs/iconic", | ||
"version": "0.1.41", | ||
"version": "0.1.42", | ||
"description": "A library of icons used by Dynamic Lab's SDK, served via CDN", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
@@ -5,2 +5,3 @@ import { type Iconic } from '../../Iconic'; | ||
export declare const AuroraIcon: Iconic; | ||
export declare const BaseChainIcon: Iconic; | ||
export declare const BnbIcon: Iconic; | ||
@@ -7,0 +8,0 @@ export declare const CosmosIcon: Iconic; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.StarknetIcon = exports.SolanaIcon = exports.PolygonIcon = exports.PalmIcon = exports.OptimismIcon = exports.GnosisIcon = exports.FlowIcon = exports.ZkSyncIcon = exports.GoerliIcon = exports.EthereumIcon = exports.AxelarIcon = exports.OsmosisIcon = exports.CosmosIcon = exports.BnbIcon = exports.AuroraIcon = exports.ArbitrumIcon = exports.AlgorandIcon = void 0; | ||
exports.StarknetIcon = exports.SolanaIcon = exports.PolygonIcon = exports.PalmIcon = exports.OptimismIcon = exports.GnosisIcon = exports.FlowIcon = exports.ZkSyncIcon = exports.GoerliIcon = exports.EthereumIcon = exports.AxelarIcon = exports.OsmosisIcon = exports.CosmosIcon = exports.BnbIcon = exports.BaseChainIcon = exports.AuroraIcon = exports.ArbitrumIcon = exports.AlgorandIcon = void 0; | ||
const Iconic_1 = require("../../Iconic"); | ||
@@ -20,2 +20,7 @@ exports.AlgorandIcon = (0, Iconic_1.createIconic)({ | ||
}); | ||
exports.BaseChainIcon = (0, Iconic_1.createIconic)({ | ||
iconName: 'base', | ||
alt: 'Base Chain', | ||
sourcePath: 'icons/chains/base.svg' | ||
}); | ||
exports.BnbIcon = (0, Iconic_1.createIconic)({ | ||
@@ -22,0 +27,0 @@ iconName: 'bnb', |
{ | ||
"name": "@dynamic-labs/iconic", | ||
"version": "0.1.41", | ||
"version": "0.1.42", | ||
"description": "A library of icons used by Dynamic Lab's SDK, served via CDN", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
### Adding an icon | ||
1. Add the SVG file to the appropriate folder | ||
1. Add a `createIconic` compomenent to the `index.ts` in that folder for that icon (iconName should be lowercase) | ||
1. Add a `createIconic` component to the `index.ts` in that folder for that icon (iconName should be lowercase) | ||
1. Bump the version in package.json | ||
@@ -6,0 +6,0 @@ 1. run `nvm use` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37870
858