Skip to content

Commit

Permalink
simplified the dynamiccolorios jsx code example
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiki Saintonge committed Apr 10, 2020
1 parent 6ffd590 commit 43740ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/colors.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ React Native supports also colors as an `int` values (in RGB color mode):
## DynamicColorIOS

```jsx
DynamicColorIOS({light: [Object object], dark: [Object object]}): [Object object]
DynamicColorIOS({light: color, dark: color});
```

The `DynamicColorIOS` function is a platform color type specific to iOS. `DynamicColorIOS` takes a single argument as an object with two keys: light and dark.
Expand Down

0 comments on commit 43740ce

Please sign in to comment.