react-native-ui-lib 7.38.0-snapshot.6291 → 7.38.1-snapshot.6294
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
|
@@ -374,6 +374,7 @@ class Button extends PureComponent {
|
|
|
374
374
|
animateLayout,
|
|
375
375
|
modifiers,
|
|
376
376
|
forwardedRef,
|
|
377
|
+
hitSlop: hitSlopProp,
|
|
377
378
|
...others
|
|
378
379
|
} = this.props;
|
|
379
380
|
const shadowStyle = this.getShadowStyle();
|
|
@@ -387,7 +388,7 @@ class Button extends PureComponent {
|
|
|
387
388
|
const borderRadiusStyle = this.getBorderRadiusStyle();
|
|
388
389
|
return <TouchableOpacity row centerV style={[this.styles.container, animateLayout && this.getAnimationDirectionStyle(), containerSizeStyle, this.isLink && this.styles.innerContainerLink, shadowStyle, margins, paddings, {
|
|
389
390
|
backgroundColor
|
|
390
|
-
}, borderRadiusStyle, outlineStyle, style]} activeOpacity={0.6} activeBackgroundColor={this.getActiveBackgroundColor()} onLayout={this.onLayout} onPress={onPress} disabled={disabled} testID={testID} hitSlop={this.getAccessibleHitSlop()} {...others} ref={forwardedRef}>
|
|
391
|
+
}, borderRadiusStyle, outlineStyle, style]} activeOpacity={0.6} activeBackgroundColor={this.getActiveBackgroundColor()} onLayout={this.onLayout} onPress={onPress} disabled={disabled} testID={testID} hitSlop={hitSlopProp ?? this.getAccessibleHitSlop()} {...others} ref={forwardedRef}>
|
|
391
392
|
{this.props.children}
|
|
392
393
|
{this.props.iconOnRight ? this.renderLabel() : this.renderIcon()}
|
|
393
394
|
{this.props.iconOnRight ? this.renderIcon() : this.renderLabel()}
|