@refineui/react-native-icons 0.2.0 → 0.3.5

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/index.umd.js CHANGED
@@ -37832,7 +37832,7 @@
37832
37832
 
37833
37833
  // === Icon component creation method ===
37834
37834
  const createIconComponent = (iconName, style) => {
37835
- return React__default["default"].forwardRef((props, ref) => {
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
- ref,
37849
- style: [styleObj],
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);