Skip to content
Permalink
Browse files

fix(readme): use escape char for all display pipe sign

  • Loading branch information...
wengkhing
wengkhing committed Jan 16, 2018
1 parent ed375a0 commit f16ad29dc63ede30a5b7f28f56ec3c6edf42dca7
Showing with 10 additions and 10 deletions.
  1. +10 −10 README.md
@@ -20,22 +20,22 @@ Default value will be used if none provided

| API | Allowed Values |
|---|---|
| layout | `row \| column \| row-reverse \| column-reverse`<br>Default: `row`|
| wrap | `true \| false \| down \| up \| reverse \| none`<br>Default: `none` |
| align | `<main-axis> <cross-axis>`<br>main-axis: `start | end | center | around | between`<br>cross-axis: `start | end | center | stretch | baseline`<br>Default: `start start` |
| basis | Length of main-axis in `px | % | vw | vh`<br>Default: `100%`<br>Behaviour: Take up as much width as possible |
| xBasis | Also known as cross-basis, is the length of cross-axis in `px | % | vw | vh`<br>Default: `auto`<br>Behaviour: Take as little space as needed by the block |
| layout | `'row' \| 'column' \| 'row-reverse' \| 'column-reverse'`<br>Default: `row`|
| wrap | `true \| false \| 'down' \| 'up' \| 'reverse' \| 'none'`<br>Default: `none` |
| align | `<main-axis> <cross-axis>`<br>main-axis: `'start' \| 'end' \| 'center' \| 'around' \| 'between'`<br>cross-axis: `'start' \| 'end' \| 'center' \| 'stretch' \| 'baseline'`<br>Default: `start start` |
| basis | Length of main-axis in `px \| % \| vw \| vh`<br>Default: `100%`<br>Behaviour: Take up as much width as possible |
| xBasis | Also known as cross-basis, is the length of cross-axis in `px \| % \| vw \| vh`<br>Default: `auto`<br>Behaviour: Take as little space as needed by the block |
| gutter | Gutter space between child defined in `px` |

#### Please take note
When layout is `row | row-reverse`, main-axis is width and cross-axis is height;
When layout is `column | column-reverse`, main-axis is height and cross-axis is width.
When layout is `row \| row-reverse`, main-axis is width and cross-axis is height;
When layout is `column \| column-reverse`, main-axis is height and cross-axis is width.

### API for child of Block

| API | Allowed Values |
|---|---|
| basis | `fill | auto | px | % | vw | vh`<br>Default: `auto` |
| xBasis | `auto | px | % | vw | vh`<br>Default: `auto` |
| alignSelf | `start | end | center | stretch | baseline | auto`<br>Default: `auto` |
| basis | `'fill' \| 'auto' \| px \| % \| vw \| vh`<br>Default: `auto` |
| xBasis | `'auto' \| px \| % \| vw \| vh`<br>Default: `auto` |
| alignSelf | `'start' \| 'end' \| 'center' \| 'stretch' \| 'baseline' \| 'auto'`<br>Default: `auto` |
| order | integer value<br>Default: `0` |

0 comments on commit f16ad29

Please sign in to comment.
You can’t perform that action at this time.