Add skeleton for documentation (#1589)

Summary:
Pull Request resolved: https://github.com/facebook/yoga/pull/1589

Adds a skeleton to the new website of documentation and such for us to fill out.

Reviewed By: joevilches

Differential Revision: D54567186

fbshipit-source-id: 700dfe0787fcb9806c3daa0675e838540119bbc0
This commit is contained in:
Nick Gerleman
2024-03-08 14:13:55 -08:00
committed by Facebook GitHub Bot
parent 367643faa5
commit cc2a87d4f9
40 changed files with 165 additions and 546 deletions

View File

@@ -0,0 +1,4 @@
{
"label": "Examples",
"position": 4
}

View File

@@ -0,0 +1,15 @@
---
sidebar_position: 1
---
import Playground from '@site/src/components/Playground';
# Align Content
<Playground code={`<Layout config={{useWebDefaults: false}}>
<Node
style={{width: 200, height: 200, padding: 20}}
>
<Node style={{flex: 1}} />
</Node>
</Layout>`} />

View File

@@ -0,0 +1,5 @@
---
sidebar_position: 2
---
# Align Items and Align Self

View File

@@ -0,0 +1,5 @@
---
sidebar_position: 3
---
# Aspect Ratio

View File

@@ -0,0 +1,5 @@
---
sidebar_position: 4
---
# Display

View File

@@ -0,0 +1,5 @@
---
sidebar_position: 5
---
# Flex Basis, Grow, and Shrink

View File

@@ -0,0 +1,5 @@
---
sidebar_position: 6
---
# Flex Direction

View File

@@ -0,0 +1,5 @@
---
sidebar_position: 7
---
# Flex Wrap

View File

@@ -0,0 +1,5 @@
---
sidebar_position: 8
---
# Gap

View File

@@ -0,0 +1,5 @@
---
sidebar_position: 9
---
# Justify Content

View File

@@ -0,0 +1,5 @@
---
sidebar_position: 10
---
# Layout Direction

View File

@@ -0,0 +1,5 @@
---
sidebar_position: 11
---
# Margin, Padding, and Border

View File

@@ -0,0 +1,5 @@
---
sidebar_position: 12
---
# Min/Max Width and Height

View File

@@ -0,0 +1,5 @@
---
sidebar_position: 13
---
# Absolute/Relative/Static Positioning

View File

@@ -0,0 +1,5 @@
---
sidebar_position: 14
---
# Width and Height