Skip to content

Commit

Permalink
docs for textTransform style (reactnativecn#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomSwift authored and charpeni committed May 1, 2018
1 parent 61ca4fa commit d364442
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/text-style-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ title: Text Style Props
* [`letterSpacing`](text-style-props.md#letterspacing)
* [`textDecorationColor`](text-style-props.md#textdecorationcolor)
* [`textDecorationStyle`](text-style-props.md#textdecorationstyle)
* [`textTransform`](text-style-props.md#texttransform)
* [`writingDirection`](text-style-props.md#writingdirection)

---
Expand Down Expand Up @@ -172,6 +173,14 @@ Set to `false` to remove extra font padding intended to make space for certain a

---

### `textTransform`

| Type | Required | Platform |
| ---------------------------------------------------- | -------- | -------- |
| enum('none', 'uppercase', 'lowercase', 'capitalize') | No | iOS |

---

### `writingDirection`

| Type | Required | Platform |
Expand Down
2 changes: 2 additions & 0 deletions docs/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,8 @@ Specifies whether fonts should scale to respect Text Size accessibility settings

- **`textDecorationStyle`**: enum('solid', 'double', 'dotted', 'dashed') (_iOS_)

- **`textTransform`**: enum('none', 'uppercase', 'lowercase', 'capitalize') (_iOS_)

- **`writingDirection`**: enum('auto', 'ltr', 'rtl') (_iOS_)

---
Expand Down

0 comments on commit d364442

Please sign in to comment.