Skip to content

Commit

Permalink
docs: fix typo (callstack#1121)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason-Cooke authored and ferrannp committed Jun 13, 2019
1 parent eab6a0e commit b587874
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/3.icons.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Example:
If you want your icon to behave properly in a RTL environment, you can pass an object to the `icon` prop with shape: `{ source: { uri: 'https://path.to' }, direction : 'rtl' }`. `source` can be any of the values that the `icon` prop accepts in [option 1](#1.-an-icon-name) and [option 2](#2.-an-image-source). For `direction` you have few options:

1. `auto` - uses the device language to determine if icon should be displayed from rtl. Uses the `I18nManager` module to get this info.
2. `rtl` - flips the icon so that it is rtl, this is regradless of the device language.
2. `rtl` - flips the icon so that it is rtl, this is regardless of the device language.
3. `ltr` - displays from ltr, even if in an rtl environment.

Example for using an image source:
Expand Down

0 comments on commit b587874

Please sign in to comment.