@transferwise/icons 2.13.0 → 2.17.0

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
@@ -47,6 +47,17 @@ will result in
47
47
  </span>
48
48
  ```
49
49
 
50
+ map of all icons (useful for dynamic icon pick up):
51
+
52
+ ```ts
53
+ import * as icons from '@transferwise/icons';
54
+
55
+ const AchIcon = icons['Ach'];
56
+
57
+ <AchIcon />
58
+ <icons.Bank />
59
+ ```
60
+
50
61
  Each component has `className` property as well, so you can avoid wrapping your component in extra parent elements.
51
62
  ```jsx
52
63
  <BankIcon size={24} filled className="bank-profile-icon" />
@@ -0,0 +1,6 @@
1
+ export namespace AutoConvertIconComponent {
2
+ export namespace bindings {
3
+ export const size: string;
4
+ }
5
+ export const template: string;
6
+ }
@@ -0,0 +1,6 @@
1
+ export namespace DeliveryIconComponent {
2
+ export namespace bindings {
3
+ export const size: string;
4
+ }
5
+ export const template: string;
6
+ }
@@ -0,0 +1,6 @@
1
+ export namespace LeafIconComponent {
2
+ export namespace bindings {
3
+ export const size: string;
4
+ }
5
+ export const template: string;
6
+ }
@@ -0,0 +1,6 @@
1
+ export namespace RequestReceiveIconComponent {
2
+ export namespace bindings {
3
+ export const size: string;
4
+ }
5
+ export const template: string;
6
+ }