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/e65f7ff9738fa8eb989135604aa1617e to your computer and use it in GitHub Desktop.

Select an option

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