@dynamic-labs/iconic 0.1.41 → 0.1.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
### Adding an icon
|
|
2
2
|
|
|
3
3
|
1. Add the SVG file to the appropriate folder
|
|
4
|
-
1. Add a `createIconic`
|
|
4
|
+
1. Add a `createIconic` component to the `index.ts` in that folder for that icon (iconName should be lowercase)
|
|
5
5
|
1. Bump the version in package.json
|
|
6
6
|
1. run `nvm use`
|
|
7
7
|
1. run `yarn install` if not yet
|
package/dist/package.json
CHANGED
|
@@ -2,6 +2,7 @@ import { type Iconic } from '../../Iconic';
|
|
|
2
2
|
export declare const AlgorandIcon: Iconic;
|
|
3
3
|
export declare const ArbitrumIcon: Iconic;
|
|
4
4
|
export declare const AuroraIcon: Iconic;
|
|
5
|
+
export declare const BaseChainIcon: Iconic;
|
|
5
6
|
export declare const BnbIcon: Iconic;
|
|
6
7
|
export declare const CosmosIcon: Iconic;
|
|
7
8
|
export declare const OsmosisIcon: Iconic;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
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;
|
|
3
|
+
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;
|
|
4
4
|
const Iconic_1 = require("../../Iconic");
|
|
5
5
|
exports.AlgorandIcon = (0, Iconic_1.createIconic)({
|
|
6
6
|
iconName: 'algorand',
|
|
@@ -17,6 +17,11 @@ exports.AuroraIcon = (0, Iconic_1.createIconic)({
|
|
|
17
17
|
alt: 'Aurora Chain',
|
|
18
18
|
sourcePath: 'icons/chains/aurora.svg'
|
|
19
19
|
});
|
|
20
|
+
exports.BaseChainIcon = (0, Iconic_1.createIconic)({
|
|
21
|
+
iconName: 'base',
|
|
22
|
+
alt: 'Base Chain',
|
|
23
|
+
sourcePath: 'icons/chains/base.svg'
|
|
24
|
+
});
|
|
20
25
|
exports.BnbIcon = (0, Iconic_1.createIconic)({
|
|
21
26
|
iconName: 'bnb',
|
|
22
27
|
alt: 'BNB Chain',
|