@refineui/react-native-icons 0.3.0 → 0.3.6
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/dist/filled-icons.d.ts +45090 -270
- package/dist/filled-icons.d.ts.map +1 -1
- package/dist/index.d.ts +1 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +4 -6
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +4 -6
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +4 -6
- package/dist/index.umd.js.map +1 -1
- package/dist/regular-icons.d.ts +45090 -270
- package/dist/regular-icons.d.ts.map +1 -1
- package/dist/utils.d.ts +169 -3
- package/dist/utils.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/index.umd.js
CHANGED
|
@@ -37832,7 +37832,7 @@
|
|
|
37832
37832
|
|
|
37833
37833
|
// === Icon component creation method ===
|
|
37834
37834
|
const createIconComponent = (iconName, style) => {
|
|
37835
|
-
return
|
|
37835
|
+
return (props) => {
|
|
37836
37836
|
const iconChar = reactNativeIconUtils.getIconChar(iconName, style, props.size || 24);
|
|
37837
37837
|
const fontFamily = reactNativeIconUtils.getFontFamily(style);
|
|
37838
37838
|
if (!iconChar)
|
|
@@ -37843,13 +37843,11 @@
|
|
|
37843
37843
|
color: props.color || 'currentColor',
|
|
37844
37844
|
lineHeight: 1,
|
|
37845
37845
|
};
|
|
37846
|
-
const { iconStyle, ...restProps } = props;
|
|
37847
37846
|
return React__default["default"].createElement(reactNative.Text, {
|
|
37848
|
-
|
|
37849
|
-
|
|
37850
|
-
...restProps,
|
|
37847
|
+
style: [styleObj, props.style],
|
|
37848
|
+
...props,
|
|
37851
37849
|
}, iconChar);
|
|
37852
|
-
}
|
|
37850
|
+
};
|
|
37853
37851
|
};
|
|
37854
37852
|
const getIconChar = (iconName, style = 'regular', size = 24) => {
|
|
37855
37853
|
return reactNativeIconUtils.getIconChar(iconName, style, size);
|