react-native-ico-software-development 4.1.5 → 7.0.1

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/static/c.png ADDED
Binary file
Binary file
Binary file
package/typings.d.ts CHANGED
@@ -1,42 +1,129 @@
1
1
  declare module 'react-native-ico-software-development' {
2
2
  import { ReactNode } from 'react';
3
- import { SvgProps, AdditionalProps } from 'react-native-svg';
3
+ import { SvgProps } from 'react-native-svg';
4
4
 
5
- type iconNames = 'nginx' |
6
- 'raspberry-pi' |
7
- 'java' |
8
- 'docker' |
9
- 'python' |
10
- 'react' |
11
- 'haskell' |
12
- 'lisp' |
13
- 'common-lisp' |
5
+ type AdditionalProps = {
6
+ onError?: (error: Error) => void;
7
+ onLoad?: () => void;
8
+ fallback?: ReactNode;
9
+ };
10
+
11
+ type iconNames = 'java' |
14
12
  'github' |
15
- 'scratch' |
16
- 'postscript' |
17
13
  'visual-basic' |
18
- 'delphi' |
19
- 'ruby' |
20
- 'c-1' |
21
- 'composer' |
22
- 'c' |
23
- 'go-lang' |
24
- 'gnu-bash' |
25
- 'mysql' |
26
- 'swiftify' |
27
14
  'scala' |
15
+ 'go-lang' |
16
+ 'c' |
17
+ 'react' |
18
+ 'css' |
19
+ 'lisp' |
20
+ 'docker' |
21
+ 'sass' |
28
22
  'swift' |
29
23
  'typescript' |
30
- 'sass' |
31
- 'php' |
24
+ 'python' |
32
25
  'webhook' |
33
- 'javascript' |
26
+ 'c-1' |
27
+ 'composer' |
28
+ 'scratch' |
29
+ 'delphi' |
30
+ 'gnu-bash' |
31
+ 'postscript' |
32
+ 'nginx' |
33
+ 'mysql' |
34
34
  'html-5' |
35
- 'css' |
36
- 'nodejs';
35
+ 'nodejs' |
36
+ 'common-lisp' |
37
+ 'php' |
38
+ 'swiftify' |
39
+ 'raspberry-pi' |
40
+ 'haskell' |
41
+ 'ruby' |
42
+ 'javascript';
43
+
44
+ type iconColors = '#004284' |
45
+ '#00579E' |
46
+ '#0069CB' |
47
+ '#006BC0' |
48
+ '#0078CF' |
49
+ '#0084C6' |
50
+ '#0096DC' |
51
+ '#0097D9' |
52
+ '#009B00' |
53
+ '#12ADF6' |
54
+ '#194066' |
55
+ '#1A1A1A' |
56
+ '#209CDC' |
57
+ '#222123' |
58
+ '#264D6F' |
59
+ '#2D3A3E' |
60
+ '#2E2E2E' |
61
+ '#31B644' |
62
+ '#333333' |
63
+ '#376DB7' |
64
+ '#3876AC' |
65
+ '#3B8739' |
66
+ '#3C66B4' |
67
+ '#3F4A43' |
68
+ '#453963' |
69
+ '#4A4A4A' |
70
+ '#4E2E8B' |
71
+ '#5155AA' |
72
+ '#5181A2' |
73
+ '#547BC4' |
74
+ '#55A344' |
75
+ '#572E94' |
76
+ '#575DAF' |
77
+ '#5ADAFD' |
78
+ '#5C5560' |
79
+ '#5C55A9' |
80
+ '#5E4E88' |
81
+ '#63401E' |
82
+ '#6399D4' |
83
+ '#639D57' |
84
+ '#66A060' |
85
+ '#69C0F1' |
86
+ '#6DA75D' |
87
+ '#718882' |
88
+ '#7F8B9A' |
89
+ '#81091A' |
90
+ '#81C756' |
91
+ '#885630' |
92
+ '#8F9ED1' |
93
+ '#904C8C' |
94
+ '#950C10' |
95
+ '#9B0A0E' |
96
+ '#A8B9CC' |
97
+ '#C18F69' |
98
+ '#C93762' |
99
+ '#CB1948' |
100
+ '#CD6699' |
101
+ '#D1E3B4' |
102
+ '#D2E4B5' |
103
+ '#DE0A17' |
104
+ '#DF352E' |
105
+ '#E4BA42' |
106
+ '#E64C18' |
107
+ '#ED232E' |
108
+ '#EF0E13' |
109
+ '#EF1616' |
110
+ '#F2F2F2' |
111
+ '#F36518' |
112
+ '#F5655E' |
113
+ '#F7CD00' |
114
+ '#F9F9F9' |
115
+ '#FDA22F' |
116
+ '#FDFDFD' |
117
+ '#FE4216' |
118
+ '#FEB903' |
119
+ '#FF7411' |
120
+ '#FFA600' |
121
+ '#FFFFFF';
37
122
 
38
123
  type backgroundType = 'circle' | 'rect' | 'button';
39
124
 
125
+ type colorsType = Record<iconColors, string>;
126
+
40
127
  type positionType = 'top' | 'bottom' | 'right' | 'left' |
41
128
  'top_right' | 'top_left' | 'bottom_right' | 'bottom_left';
42
129
 
@@ -52,6 +139,7 @@ declare module 'react-native-ico-software-development' {
52
139
  fontSize?: string;
53
140
  position?: positionType;
54
141
  color?: string;
142
+ colors: colorsType;
55
143
  backgroundColor?: string;
56
144
  radius?: number;
57
145
  };
@@ -61,6 +149,7 @@ declare module 'react-native-ico-software-development' {
61
149
  width?: number;
62
150
  height?: number;
63
151
  color?: string;
152
+ colors?: colorsType;
64
153
  stroke?: number;
65
154
  background?: backgroundType | backgroundTypeObj;
66
155
  badge?: number | string | badgeTypeObj;