mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-19 21:45:10 +00:00
Add preserveAspectRatio prop for Image
Add preserveAspectRatio prop for Image. Fix touch events for Image on Android. Fix viewBox slice bug on Android.
This commit is contained in:
@@ -160,7 +160,9 @@ const ImageAttributes = merge({
|
||||
y: true,
|
||||
width: true,
|
||||
height: true,
|
||||
src: true
|
||||
src: true,
|
||||
align: true,
|
||||
meetOrSlice: true
|
||||
}, RenderableAttributes);
|
||||
|
||||
const LineAttributes = merge({
|
||||
|
||||
Reference in New Issue
Block a user