From 9dde70fff5653572ff4730cf7f8320a5c6c407a8 Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Sun, 20 Mar 2016 12:19:29 -0700 Subject: [PATCH] Update documentation --- docs/components/Text.md | 3 ++- docs/guides/style.md | 19 +++++++------------ 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/docs/components/Text.md b/docs/components/Text.md index 90eeb876..51f4a266 100644 --- a/docs/components/Text.md +++ b/docs/components/Text.md @@ -60,7 +60,8 @@ This function is called on press. + `letterSpacing` + `lineHeight` + `textAlign` -+ `textDecoration` ++ `textAlignVertical` ++ `textDecorationLine` + `textShadow` + `textTransform` + `whiteSpace` diff --git a/docs/guides/style.md b/docs/guides/style.md index 9ae1b920..58b686e2 100644 --- a/docs/guides/style.md +++ b/docs/guides/style.md @@ -174,16 +174,16 @@ const styles = StyleSheet.create({ CSS output: ```css -._s1 { color: gray; } -._s2 { font-size: 2rem; } -._s3 { font-size: 1.25rem; } +.__style1 { color: gray; } +.__style2 { font-size: 2rem; } +.__style3 { font-size: 1.25rem; } ``` Rendered HTML: ```html -Heading -Text +Heading +Text ``` ### Reset @@ -200,6 +200,7 @@ html { font-family: sans-serif; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; + -webkit-tap-highlight-color:rgba(0,0,0,0) } body { @@ -214,12 +215,6 @@ input::-moz-focus-inner { input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; -} - -ol, -ul, -li { - list-style:none + display: none; } ```