Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/text-style-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -872,11 +872,11 @@ Numeric value that controls the vertical spacing between lines of text within a

### `textAlign`

Specifies text alignment. On Android, the value 'justify' is only supported on Oreo (8.0) or above (API level >= 26). The value will fallback to `left` on lower Android versions.
Specifies text alignment. The `start` and `end` values align text to the start or end edge based on the layout direction. Unlike `left` and `right`, these values adapt to right-to-left layouts. On Android, the value `justify` is only supported on Oreo (8.0) or above (API level >= 26). The value will fallback to `left` on lower Android versions.

| Type | Default |
| ------------------------------------------------------------ | -------- |
| enum(`'auto'`, `'left'`, `'right'`, `'center'`, `'justify'`) | `'auto'` |
| Type | Default |
| -------------------------------------------------------------------------------- | -------- |
| enum(`'auto'`, `'left'`, `'right'`, `'center'`, `'justify'`, `'start'`, `'end'`) | `'auto'` |

---

Expand Down
10 changes: 6 additions & 4 deletions docs/textinput.md
Original file line number Diff line number Diff line change
Expand Up @@ -943,17 +943,19 @@ For both single line and multiline inputs:

### `textAlign`

Align the input text to the left, center, or right sides of the input field.
Align the input text. The `start` and `end` values align text to the start or end edge based on the layout direction. Unlike `left` and `right`, these values adapt to right-to-left layouts.

Possible values for `textAlign` are:

- `left`
- `center`
- `right`
- `start`
- `end`

| Type |
| ------------------------------- |
| enum('left', 'center', 'right') |
| Type |
| ----------------------------------------------- |
| enum('left', 'center', 'right', 'start', 'end') |

---

Expand Down
8 changes: 4 additions & 4 deletions website/versioned_docs/version-0.87/text-style-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -847,11 +847,11 @@ Numeric value that controls the vertical spacing between lines of text within a

### `textAlign`

Specifies text alignment. On Android, the value 'justify' is only supported on Oreo (8.0) or above (API level >= 26). The value will fallback to `left` on lower Android versions.
Specifies text alignment. The `start` and `end` values align text to the start or end edge based on the layout direction. Unlike `left` and `right`, these values adapt to right-to-left layouts. On Android, the value `justify` is only supported on Oreo (8.0) or above (API level >= 26). The value will fallback to `left` on lower Android versions.

| Type | Default |
| ------------------------------------------------------------ | -------- |
| enum(`'auto'`, `'left'`, `'right'`, `'center'`, `'justify'`) | `'auto'` |
| Type | Default |
| -------------------------------------------------------------------------------- | -------- |
| enum(`'auto'`, `'left'`, `'right'`, `'center'`, `'justify'`, `'start'`, `'end'`) | `'auto'` |

---

Expand Down
10 changes: 6 additions & 4 deletions website/versioned_docs/version-0.87/textinput.md
Original file line number Diff line number Diff line change
Expand Up @@ -957,17 +957,19 @@ For both single line and multiline inputs:

### `textAlign`

Align the input text to the left, center, or right sides of the input field.
Align the input text. The `start` and `end` values align text to the start or end edge based on the layout direction. Unlike `left` and `right`, these values adapt to right-to-left layouts.

Possible values for `textAlign` are:

- `left`
- `center`
- `right`
- `start`
- `end`

| Type |
| ------------------------------- |
| enum('left', 'center', 'right') |
| Type |
| ----------------------------------------------- |
| enum('left', 'center', 'right', 'start', 'end') |

---

Expand Down
8 changes: 4 additions & 4 deletions website/versioned_docs/version-0.88/text-style-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -872,11 +872,11 @@ Numeric value that controls the vertical spacing between lines of text within a

### `textAlign`

Specifies text alignment. On Android, the value 'justify' is only supported on Oreo (8.0) or above (API level >= 26). The value will fallback to `left` on lower Android versions.
Specifies text alignment. The `start` and `end` values align text to the start or end edge based on the layout direction. Unlike `left` and `right`, these values adapt to right-to-left layouts. On Android, the value `justify` is only supported on Oreo (8.0) or above (API level >= 26). The value will fallback to `left` on lower Android versions.

| Type | Default |
| ------------------------------------------------------------ | -------- |
| enum(`'auto'`, `'left'`, `'right'`, `'center'`, `'justify'`) | `'auto'` |
| Type | Default |
| -------------------------------------------------------------------------------- | -------- |
| enum(`'auto'`, `'left'`, `'right'`, `'center'`, `'justify'`, `'start'`, `'end'`) | `'auto'` |

---

Expand Down
10 changes: 6 additions & 4 deletions website/versioned_docs/version-0.88/textinput.md
Original file line number Diff line number Diff line change
Expand Up @@ -957,17 +957,19 @@ For both single line and multiline inputs:

### `textAlign`

Align the input text to the left, center, or right sides of the input field.
Align the input text. The `start` and `end` values align text to the start or end edge based on the layout direction. Unlike `left` and `right`, these values adapt to right-to-left layouts.

Possible values for `textAlign` are:

- `left`
- `center`
- `right`
- `start`
- `end`

| Type |
| ------------------------------- |
| enum('left', 'center', 'right') |
| Type |
| ----------------------------------------------- |
| enum('left', 'center', 'right', 'start', 'end') |

---

Expand Down
Loading