diff --git a/packages/react-native-draw-extras/src/brushProperties/BrushProperties.tsx b/packages/react-native-draw-extras/src/brushProperties/BrushProperties.tsx index 2b09726..34d7fd0 100644 --- a/packages/react-native-draw-extras/src/brushProperties/BrushProperties.tsx +++ b/packages/react-native-draw-extras/src/brushProperties/BrushProperties.tsx @@ -126,7 +126,7 @@ const BrushProperties = forwardRef( colors={colors} onColorChange={onColorChange} /> - {thickness && onThicknessChange && opacity && onOpacityChange && ( + {!!thickness && !!onThicknessChange && !!onOpacityChange && ( {thickness && onThicknessChange && ( ( minimumTrackTintColor={sliderColor} /> )} - {opacity && onOpacityChange && ( + {onOpacityChange && (