Skip to content

Commit e45ce47

Browse files
committed
2.1.1 updated
1 parent 1ba03fb commit e45ce47

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,13 +404,43 @@ Variables are used to make different UI parts look the same. Their default value
404404
Apart from these, there are <a name="stylesComplexStyles"></a>styles that depend on [variables](#stylesVariables). That's why `create()` needs to be called: these styles are created during its invocation. They are described below:
405405

406406
- navigator
407+
408+
To be used for a [`Navigator`](http://facebook.github.io/react-native/releases/0.43/docs/navigator.html). Though it's deprecated long ago, I find this component useful when no navigation UI is needed.
409+
410+
This style sets the navigator background color equal to `backgroundColor`.
411+
407412
- navigatorWithPadding
413+
414+
The same as `navigator` but with padding equal to `marginPadding`.
415+
408416
- scene
417+
418+
A style for scenes just making them fullscreen.
419+
409420
- sceneWithMargin
421+
422+
The same as `scene` but with margins set to `marginPadding`.
423+
410424
- button
425+
426+
A style for [`Button`](https://npmjs.com/packages/react-native-common-ui-components#button).
427+
411428
- toggleButtons
429+
430+
A style for [`ToggleButtons`](https://npmjs.com/packages/react-native-common-ui-components#togglebuttons).
431+
412432
- listView
413433

434+
A style for [`ListViewHelper`](#listviewhelper) and list view items.
435+
436+
- $itemHeight
437+
438+
A list view item height.
439+
440+
- separatorStyle
441+
442+
A style for list view item separators.
443+
414444
#### 4. <a name="stylesFont"></a>Font sizes.
415445

416446
Font sizes are calculated as `baseFontSize + numberOfSteps * step`. `font` contains all the values and `fontSize()` is a function to calculate the font size: `fontSize(someInteger);`.

0 commit comments

Comments
 (0)