mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Make a new "Style" doc that's in The Basics and uses the RNWP
Summary: The example uses StyleSheet.create and also arrays-of-styles. I think this covers everything the old one did, but in simple-enough-for-the-basics form, so I removed the old one. I also reordered so that "Style -> Dimensions -> Layout" is the flow for learning "Styley" things. Closes https://github.com/facebook/react-native/pull/8379 Differential Revision: D3478384 Pulled By: caabernathy fbshipit-source-id: 158f0f0367c8eb8b2b24feda0d8d7a533fd7af4d
This commit is contained in:
committed by
Facebook Github Bot 5
parent
0c9dba46bb
commit
e3f96acf26
@@ -4,7 +4,7 @@ title: Layout
|
||||
layout: docs
|
||||
category: The Basics
|
||||
permalink: docs/basics-layout.html
|
||||
next: basics-network
|
||||
next: basics-component-textinput
|
||||
---
|
||||
|
||||
A component can specify the layout of its children using the flexbox algorithm. Flexbox is designed to provide a consistent layout on different screen sizes.
|
||||
|
||||
Reference in New Issue
Block a user