Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paramaggarwal/aspect-ratio-demo
A demo React Native app, to try out the new aspectRatioBox prop for views.
https://github.com/paramaggarwal/aspect-ratio-demo
Last synced: about 1 month ago
JSON representation
A demo React Native app, to try out the new aspectRatioBox prop for views.
- Host: GitHub
- URL: https://github.com/paramaggarwal/aspect-ratio-demo
- Owner: paramaggarwal
- License: mit
- Created: 2015-06-29T02:52:50.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-30T06:41:05.000Z (over 9 years ago)
- Last Synced: 2024-11-04T05:42:21.336Z (3 months ago)
- Language: Objective-C
- Size: 7.56 MB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aspect-ratio-demo
A demo React Native app, to try out the new aspectRatioBox prop for views.This demonstrates the changes in this PR: https://github.com/facebook/react-native/pull/1538
# Screenshot
![Screenshot of the running app](https://github.com/paramaggarwal/aspect-ratio-demo/raw/master/Screenshot.png)
# Run
1. Download the repo.
2. Open `AspectRatioDemo.xcodeproj`
3. Click `Run` in Xcode.# Code
```
{/* 1x1 Aspect Ratio - Square Box. */}
```
# Author
Param Aggarwal ([email protected])
# License
MIT