Update documentation

This commit is contained in:
Nicolas Gallagher
2016-03-20 12:19:29 -07:00
parent 203980ab66
commit 9dde70fff5
2 changed files with 9 additions and 13 deletions

View File

@@ -60,7 +60,8 @@ This function is called on press.
+ `letterSpacing` + `letterSpacing`
+ `lineHeight` + `lineHeight`
+ `textAlign` + `textAlign`
+ `textDecoration` + `textAlignVertical`
+ `textDecorationLine`
+ `textShadow` + `textShadow`
+ `textTransform` + `textTransform`
+ `whiteSpace` + `whiteSpace`

View File

@@ -174,16 +174,16 @@ const styles = StyleSheet.create({
CSS output: CSS output:
```css ```css
._s1 { color: gray; } .__style1 { color: gray; }
._s2 { font-size: 2rem; } .__style2 { font-size: 2rem; }
._s3 { font-size: 1.25rem; } .__style3 { font-size: 1.25rem; }
``` ```
Rendered HTML: Rendered HTML:
```html ```html
<span className="_s1 _s2">Heading</span> <span className="__style1 __style2">Heading</span>
<span className="_s1 _s3">Text</span> <span className="__style1 __style3">Text</span>
``` ```
### Reset ### Reset
@@ -200,6 +200,7 @@ html {
font-family: sans-serif; font-family: sans-serif;
-ms-text-size-adjust: 100%; -ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;
-webkit-tap-highlight-color:rgba(0,0,0,0)
} }
body { body {
@@ -214,12 +215,6 @@ input::-moz-focus-inner {
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration { input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none; display: none;
}
ol,
ul,
li {
list-style:none
} }
``` ```