Fixing error prettier redesign CI
This commit is contained in:
@@ -215,23 +215,18 @@ const InteractiveBase: React.FC<InteractiveBaseProps> = ({
|
|||||||
]).start();
|
]).start();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const animatedStyle = {
|
||||||
|
backgroundColor: isOutlined ? 'rgba(0,0,0,0.3)' : backgroundColorValue,
|
||||||
|
borderColor: isOutlined ? backgroundColorValue : 'transparent',
|
||||||
|
borderWidth: 2,
|
||||||
|
transform: [{ scale: scaleValue }],
|
||||||
|
shadowOpacity: shadowOpacityValue,
|
||||||
|
shadowRadius: shadowRadiusValue,
|
||||||
|
elevation: elevationValue,
|
||||||
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Animated.View
|
<Animated.View style={[style, isDisabled ? styleAnimate.Disabled : animatedStyle]}>
|
||||||
style={[
|
|
||||||
style,
|
|
||||||
isDisabled
|
|
||||||
? styleAnimate.Disabled
|
|
||||||
: {
|
|
||||||
backgroundColor: isOutlined ? 'rgba(0,0,0,0.3)' : backgroundColorValue,
|
|
||||||
borderColor: isOutlined ? backgroundColorValue : 'transparent',
|
|
||||||
borderWidth: 2,
|
|
||||||
transform: [{ scale: scaleValue }],
|
|
||||||
shadowOpacity: shadowOpacityValue,
|
|
||||||
shadowRadius: shadowRadiusValue,
|
|
||||||
elevation: elevationValue,
|
|
||||||
},
|
|
||||||
]}
|
|
||||||
>
|
|
||||||
<Pressable
|
<Pressable
|
||||||
disabled={isDisabled}
|
disabled={isDisabled}
|
||||||
onHoverIn={handleMouseEnter}
|
onHoverIn={handleMouseEnter}
|
||||||
|
|||||||
Reference in New Issue
Block a user