Skip to content

Commit

Permalink
Update 2020-07-06-version-0.63.md
Browse files Browse the repository at this point in the history
  • Loading branch information
grabbou committed Jul 8, 2020
1 parent 32cad8c commit e6e760e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions website/blog/2020-07-06-version-0.63.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ import { Pressable, Text } from 'react-native';
A simple example of a Pressable component in action
</p>

You can learn more about it from [the documentation](https://reactnative.dev/docs/next/pressable).
You can learn more about it from [the documentation](https://reactnative.dev/docs/pressable).

## Native Colors (PlatformColor, DynamicColorIOS)

Expand All @@ -84,7 +84,7 @@ For example, on iOS, the [system provides a color called `labelColor`](https://d
```jsx
import { Text, PlatformColor } from 'react-native';

<Text style={{color: PlatformColor(labelColor) }}>
<Text style={{color: PlatformColor('labelColor') }}>
This is a label
</Text>
```
Expand All @@ -110,7 +110,7 @@ import { View, Text, PlatformColor } from 'react-native';
Sets the background color of the View component to colorButtonNormal as defined by Android.
</p>

You can learn more about `PlatformColor` from [the documentation](https://reactnative.dev/docs/next/platformcolor). You can also check the actual [code examples present in the RNTester](https://github.com/facebook/react-native/blob/master/RNTester/js/examples/PlatformColor/PlatformColorExample.js).
You can learn more about `PlatformColor` from [the documentation](https://reactnative.dev/docs/platformcolor). You can also check the actual [code examples present in the RNTester](https://github.com/facebook/react-native/blob/master/RNTester/js/examples/PlatformColor/PlatformColorExample.js).

`DynamicColorIOS` is an iOS only API that lets you define which color to use in light and dark mode. Similar to `PlatformColor`, this can be used anywhere you can use colors. `DynamicColorIOS` uses iOS’s `colorWithDynamicProvider` under the hood.

Expand All @@ -131,7 +131,7 @@ const customDynamicTextColor = DynamicColorIOS({
Changes the text color based on the system theme
</p>

You can learn more about `DynamicColorIOS` from [the documentation](https://reactnative.dev/docs/next/dynamiccolorios).
You can learn more about `DynamicColorIOS` from [the documentation](https://reactnative.dev/docs/dynamiccolorios).

## Dropping iOS 9 and Node.js 8 support

Expand Down

0 comments on commit e6e760e

Please sign in to comment.