Skip to content

Commit

Permalink
Text: add documentation for userSelect prop (facebook#3311)
Browse files Browse the repository at this point in the history
  • Loading branch information
dakshbhardwaj authored Sep 23, 2022
1 parent 4260478 commit 69f723b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -649,6 +649,16 @@ Set text break strategy on Android API Level 23+, possible values are `simple`,
| ----------------------------------------------- | ------------- |
| enum(`'simple'`, `'highQuality'`, `'balanced'`) | `highQuality` |

---

### `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` |

## Type Definitions

### TextLayout
Expand Down

0 comments on commit 69f723b

Please sign in to comment.