Added missing image example for layout documentation (#130)
This commit is contained in:
parent
cafb42321e
commit
49ea4c8c4d
@ -46,7 +46,7 @@ Flexbox is designed to provide a consistent layout on different screen sizes. Yo
|
||||
|
||||
Lets say you want to build a UI that has a parent view which has two child widgets. One a label with text Hello and another a view with background color white. Now you want the label to occupy 1/3 of the available space while the white colored child view to occupy the remaining 2/3 space.
|
||||
|
||||
<img src="/img/docs/flex-layout-1.png" alt="flex layout example 1" style={{maxWidth: 700, width:'100%'}}/>
|
||||
<img src="../img/docs/flex-layout-1.png" alt="flex layout example 1" style={{maxWidth: 700, width:'100%'}}/>
|
||||
|
||||
The code for that would look something like this:
|
||||
|
||||
|
||||
BIN
website/docs/img/docs/flex-layout-1.png
Normal file
BIN
website/docs/img/docs/flex-layout-1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.1 KiB |
Loading…
Reference in New Issue
Block a user