diff --git a/docs/next/text.html b/docs/next/text.html index 7da3e695427..46286e22892 100644 --- a/docs/next/text.html +++ b/docs/next/text.html @@ -152,7 +152,7 @@ AppRegistry.registerComponent('AwesomeProject', </Text> </View> -
You also lose the ability to set up a default font for an entire subtree. The recommended way to use consistent fonts and sizes across your application is to create a component MyAppText that includes them and use this component across your app. You can also use this component to make more specific components like MyAppHeaderText for other kinds of text.
You also lose the ability to set up a default font for an entire subtree. Meanwhile, fontFamily only accepts a single font name, which is different from font-family in CSS. The recommended way to use consistent fonts and sizes across your application is to create a component MyAppText that includes them and use this component across your app. You can also use this component to make more specific components like MyAppHeaderText for other kinds of text.
<View>
<MyAppText>
Text styled with the default font for the entire application
diff --git a/docs/next/text/index.html b/docs/next/text/index.html
index 7da3e695427..46286e22892 100644
--- a/docs/next/text/index.html
+++ b/docs/next/text/index.html
@@ -152,7 +152,7 @@ AppRegistry.registerComponent('AwesomeProject',
</Text>
</View>
-You also lose the ability to set up a default font for an entire subtree. The recommended way to use consistent fonts and sizes across your application is to create a component MyAppText that includes them and use this component across your app. You can also use this component to make more specific components like MyAppHeaderText for other kinds of text.
You also lose the ability to set up a default font for an entire subtree. Meanwhile, fontFamily only accepts a single font name, which is different from font-family in CSS. The recommended way to use consistent fonts and sizes across your application is to create a component MyAppText that includes them and use this component across your app. You can also use this component to make more specific components like MyAppHeaderText for other kinds of text.
<View>
<MyAppText>
Text styled with the default font for the entire application