Skip to content

Commit 69f723b

Browse files
Text: add documentation for userSelect prop (facebook#3311)
1 parent 4260478 commit 69f723b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/text.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -649,6 +649,16 @@ Set text break strategy on Android API Level 23+, possible values are `simple`,
649649
| ----------------------------------------------- | ------------- |
650650
| enum(`'simple'`, `'highQuality'`, `'balanced'`) | `highQuality` |
651651

652+
---
653+
654+
### `userSelect`
655+
656+
It allows the user to select text and to use the native copy and paste functionality. Has precedence over the `selectable` prop.
657+
658+
| Type | Default |
659+
| -------------------------------------------------------- | ------- |
660+
| enum(`'auto'`, `'text'`, `'none'`, `'contain'`, `'all'`) | `none` |
661+
652662
## Type Definitions
653663

654664
### TextLayout

0 commit comments

Comments
 (0)