Comments (4)
Hey! Yeah that's possible, just set your own width/height and it will scale just fine. You should also be able to set aspectRatio
and set width/height to null
.
from react-native-vector-image.
Maby you have an example svg file to check if it's something wrong with what I am doing, because on IPad I see svg file of half screen width :/
from react-native-vector-image.
Maybe it's easier if you post what you are trying with. For iOS it's using the regular Image
component from React Native under the hood, so nothing special there. Android is a bit different.
from react-native-vector-image.
Closing due to inactivity
from react-native-vector-image.
Related Issues (20)
- Failed to generate vector assets HOT 8
- Invalid --ios-output argument, folder doesn't exist HOT 2
- Web Support HOT 1
- expo support via config plugin? HOT 3
- Gradient has no stop info
- Android Build Error HOT 3
- iOS Error "Could not find Image File" HOT 1
- Cannot build for Android due to gradle config issue HOT 1
- Generate error HOT 2
- <pattern> is not supported error when generating files
- Generated Android/iOS images are different when generated from Mac vs. Windows HOT 3
- Library doesn't support <pattern> and <image> HOT 1
- Issues building Android app with the latest RN 0.71 HOT 2
- [Question] Is there any benchmarking done to compare performance and JS Bundle size with alternatives HOT 1
- Npm dependency conflict HOT 1
- [Q] is there any benchmarking done on size and perfomance HOT 1
- Cannot find module 'metro/src/Server' HOT 14
- npm install error HOT 2
- Can't generate and find SG path with the new Metro Config file HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-vector-image.