@refineui/react-native-icons 0.3.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.js CHANGED
@@ -37833,7 +37833,7 @@ const reactNativeIconUtils = new ReactNativeIconUtils();
37833
37833
 
37834
37834
  // === Icon component creation method ===
37835
37835
  const createIconComponent = (iconName, style) => {
37836
- return React__default["default"].forwardRef((props, ref) => {
37836
+ return (props) => {
37837
37837
  const iconChar = reactNativeIconUtils.getIconChar(iconName, style, props.size || 24);
37838
37838
  const fontFamily = reactNativeIconUtils.getFontFamily(style);
37839
37839
  if (!iconChar)
@@ -37844,13 +37844,11 @@ const createIconComponent = (iconName, style) => {
37844
37844
  color: props.color || 'currentColor',
37845
37845
  lineHeight: 1,
37846
37846
  };
37847
- const { iconStyle, ...restProps } = props;
37848
37847
  return React__default["default"].createElement(reactNative.Text, {
37849
- ref,
37850
- style: [styleObj],
37851
- ...restProps,
37848
+ style: [styleObj, props.style],
37849
+ ...props,
37852
37850
  }, iconChar);
37853
- });
37851
+ };
37854
37852
  };
37855
37853
  const getIconChar = (iconName, style = 'regular', size = 24) => {
37856
37854
  return reactNativeIconUtils.getIconChar(iconName, style, size);