react-native-ui-lib 7.39.0-snapshot.6708 → 7.39.0-snapshot.6714

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-ui-lib",
3
- "version": "7.39.0-snapshot.6708",
3
+ "version": "7.39.0-snapshot.6714",
4
4
  "main": "src/index.js",
5
5
  "types": "src/index.d.ts",
6
6
  "author": "Ethan Sharabi <ethan.shar@gmail.com>",
@@ -52,7 +52,14 @@ const Icon = forwardRef((props, ref) => {
52
52
  return source;
53
53
  }, [source, assetGroup, assetName]);
54
54
  const renderImage = () => {
55
- return <Image accessible={false} accessibilityRole={'image'} fsTagName={recorderTag} {...others} ref={ref} source={iconSource} style={[margins, iconSize, shouldFlipRTL && styles.rtlFlipped, !!tintColor && {
55
+ const {
56
+ width,
57
+ height
58
+ } = others;
59
+ return <Image accessible={false} accessibilityRole={'image'} fsTagName={recorderTag} {...others} ref={ref} source={iconSource} style={[{
60
+ width,
61
+ height
62
+ }, margins, iconSize, shouldFlipRTL && styles.rtlFlipped, !!tintColor && {
56
63
  tintColor
57
64
  }, style]} />;
58
65
  };
@@ -1,9 +1,9 @@
1
1
  import React, { PureComponent } from 'react';
2
2
  import { Image as RNImage, ImageProps as RNImageProps, ImageBackgroundProps, NativeSyntheticEvent, ImageErrorEventData } from 'react-native';
3
3
  import { ForwardRefInjectedProps, BaseComponentInjectedProps, MarginModifiers } from '../../commons/new';
4
+ import { ComponentStatics } from '../../typings/common';
4
5
  import { RecorderProps } from '../../typings/recorderTypes';
5
6
  import { OverlayTypeType, OverlayIntensityType } from '../overlay';
6
- import { ComponentStatics } from 'src/typings/common';
7
7
  export type ImageSourceType = string | RNImageProps['source'];
8
8
  export type ImageProps = Omit<RNImageProps, 'source'> & Pick<ImageBackgroundProps, 'imageStyle'> & MarginModifiers & RecorderProps & {
9
9
  /**