Skip to content

Instantly share code, notes, and snippets.

@viniciusdacal
Last active February 14, 2017 19:12
Show Gist options
  • Select an option

  • Save viniciusdacal/c38a965c7f76feddd00bccc1b54c697a to your computer and use it in GitHub Desktop.

Select an option

Save viniciusdacal/c38a965c7f76feddd00bccc1b54c697a to your computer and use it in GitHub Desktop.
import React, { Component } from 'react';
import { View } from 'react-native';
const FixedDimensionsBasics = () => (
<View>
<View style={{ width: 50, height: 50, backgroundColor: 'powderblue' }} />
<View style={{ width: 100, height: 100, backgroundColor: 'skyblue' }} />
<View style={{ width: 150, height: 150, backgroundColor: 'steelblue' }} />
</View>
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment