@aydee-app/icons 1.1.6 → 1.1.7
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.
|
@@ -14,14 +14,11 @@ import Svg from 'react-native-svg';
|
|
|
14
14
|
* cssInterop(Icon, { className: 'style' });
|
|
15
15
|
* ```
|
|
16
16
|
*/
|
|
17
|
-
export
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
</Svg>);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
17
|
+
export const Icon = ({ size = 30, className, children, ...props }) => {
|
|
18
|
+
return (<Svg width={size} height={size}
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
className={className} {...props}>
|
|
21
|
+
{children}
|
|
22
|
+
</Svg>);
|
|
23
|
+
};
|
|
27
24
|
//# sourceMappingURL=Icon.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.js","sourceRoot":"","sources":["../../src/react-native/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,GAAiB,MAAM,kBAAkB,CAAA;AAOhD;;;;;;;;;;;;;GAaG;AACH,MAAM,
|
|
1
|
+
{"version":3,"file":"Icon.js","sourceRoot":"","sources":["../../src/react-native/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,GAAiB,MAAM,kBAAkB,CAAA;AAOhD;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,IAAI,GAAwB,CAAC,EACxC,IAAI,GAAG,EAAE,EACT,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,EAAE;IACH,OAAO,CACL,CAAC,GAAG,CACF,KAAK,CAAC,CAAC,IAAI,CAAC,CACZ,MAAM,CAAC,CAAC,IAAI,CAAC;IACb,aAAa;IACb,SAAS,CAAC,CAAC,SAAS,CAAC,CACrB,IAAI,KAAK,CAAC,CAEV;MAAA,CAAC,QAAQ,CACX;IAAA,EAAE,GAAG,CAAC,CACP,CAAA;AACH,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aydee-app/icons",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.7",
|
|
4
4
|
"description": "Universal icon package for React and Svelte",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -65,4 +65,4 @@
|
|
|
65
65
|
"react-native"
|
|
66
66
|
],
|
|
67
67
|
"author": "Aydee"
|
|
68
|
-
}
|
|
68
|
+
}
|