Skip to content

Commit

Permalink
[Text] refactor: useSelect listed under text props instead of text st…
Browse files Browse the repository at this point in the history
…yle props (#3913)
  • Loading branch information
tarunrajput authored Nov 3, 2023
1 parent 0eefe21 commit 4b3c19a
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 30 deletions.
10 changes: 10 additions & 0 deletions docs/text-style-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -929,3 +929,13 @@ Specifies text alignment. On Android, the value 'justify' is only supported on O
| Type | Default |
| -------------------------------- | -------- |
| enum(`'auto'`, `'ltr'`, `'rtl'`) | `'auto'` |

---

### `userSelect`

It allows the user to select text and to use the native copy and paste functionality. Has precedence over the `selectable` prop.

| Type | Default |
| -------------------------------------------------------- | ------- |
| enum(`'auto'`, `'text'`, `'none'`, `'contain'`, `'all'`) | `none` |
10 changes: 0 additions & 10 deletions docs/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -691,16 +691,6 @@ Set text break strategy on Android API Level 23+, possible values are `simple`,

---

### `userSelect`

It allows the user to select text and to use the native copy and paste functionality. Has precedence over the `selectable` prop.

| Type | Default |
| -------------------------------------------------------- | ------- |
| enum(`'auto'`, `'text'`, `'none'`, `'contain'`, `'all'`) | `none` |

---

### `lineBreakStrategyIOS` <div class="label ios">iOS</div>

Set line break strategy on iOS 14+. Possible values are `none`, `standard`, `hangul-word` and `push-out`.
Expand Down
10 changes: 10 additions & 0 deletions website/versioned_docs/version-0.71/text-style-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -929,3 +929,13 @@ Specifies text alignment. On Android, the value 'justify' is only supported on O
| Type | Default |
| -------------------------------- | -------- |
| enum(`'auto'`, `'ltr'`, `'rtl'`) | `'auto'` |

---

### `userSelect`

It allows the user to select text and to use the native copy and paste functionality. Has precedence over the `selectable` prop.

| Type | Default |
| -------------------------------------------------------- | ------- |
| enum(`'auto'`, `'text'`, `'none'`, `'contain'`, `'all'`) | `none` |
10 changes: 0 additions & 10 deletions website/versioned_docs/version-0.71/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -733,16 +733,6 @@ Set text break strategy on Android API Level 23+, possible values are `simple`,

---

### `userSelect`

It allows the user to select text and to use the native copy and paste functionality. Has precedence over the `selectable` prop.

| Type | Default |
| -------------------------------------------------------- | ------- |
| enum(`'auto'`, `'text'`, `'none'`, `'contain'`, `'all'`) | `none` |

---

### `lineBreakStrategyIOS` <div class="label ios">iOS</div>

Set line break strategy on iOS 14+. Possible values are `none`, `standard`, `hangul-word` and `push-out`.
Expand Down
10 changes: 10 additions & 0 deletions website/versioned_docs/version-0.72/text-style-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -929,3 +929,13 @@ Specifies text alignment. On Android, the value 'justify' is only supported on O
| Type | Default |
| -------------------------------- | -------- |
| enum(`'auto'`, `'ltr'`, `'rtl'`) | `'auto'` |

---

### `userSelect`

It allows the user to select text and to use the native copy and paste functionality. Has precedence over the `selectable` prop.

| Type | Default |
| -------------------------------------------------------- | ------- |
| enum(`'auto'`, `'text'`, `'none'`, `'contain'`, `'all'`) | `none` |
10 changes: 0 additions & 10 deletions website/versioned_docs/version-0.72/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -691,16 +691,6 @@ Set text break strategy on Android API Level 23+, possible values are `simple`,

---

### `userSelect`

It allows the user to select text and to use the native copy and paste functionality. Has precedence over the `selectable` prop.

| Type | Default |
| -------------------------------------------------------- | ------- |
| enum(`'auto'`, `'text'`, `'none'`, `'contain'`, `'all'`) | `none` |

---

### `lineBreakStrategyIOS` <div class="label ios">iOS</div>

Set line break strategy on iOS 14+. Possible values are `none`, `standard`, `hangul-word` and `push-out`.
Expand Down

0 comments on commit 4b3c19a

Please sign in to comment.