Skip to content

Commit e7e479a

Browse files
authored
Add selectionHandleColor prop on TextInput (facebook#4248)
* add selectionHandleColor to TextInput * add selectionHandleColor to TextInput on versioned docs * add missing type * add selecitonHandleColor to v0.76
1 parent 4e3f6d6 commit e7e479a

File tree

4 files changed

+44
-4
lines changed

4 files changed

+44
-4
lines changed

docs/textinput.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,17 @@ The start and end of the text input's selection. Set start and end to the same v
817817

818818
### `selectionColor`
819819

820-
The highlight and cursor color of the text input.
820+
The highlight, selection handle and cursor color of the text input.
821+
822+
| Type |
823+
| ------------------ |
824+
| [color](colors.md) |
825+
826+
---
827+
828+
### `selectionHandleColor` <div class="label android">Android</div>
829+
830+
Sets the color of the selection handle. Unlike `selectionColor`, it allows the selection handle color to be customized independently of the selection's color.
821831

822832
| Type |
823833
| ------------------ |

website/versioned_docs/version-0.74/textinput.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,17 @@ The start and end of the text input's selection. Set start and end to the same v
800800

801801
### `selectionColor`
802802

803-
The highlight and cursor color of the text input.
803+
The highlight, selection handle and cursor color of the text input.
804+
805+
| Type |
806+
| ------------------ |
807+
| [color](colors.md) |
808+
809+
---
810+
811+
### `selectionHandleColor` <div class="label android">Android</div>
812+
813+
Sets the color of the selection handle. Unlike `selectionColor`, it allows the selection handle color to be customized independently of the selection's color.
804814

805815
| Type |
806816
| ------------------ |

website/versioned_docs/version-0.75/textinput.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,17 @@ The start and end of the text input's selection. Set start and end to the same v
800800

801801
### `selectionColor`
802802

803-
The highlight and cursor color of the text input.
803+
The highlight, selection handle and cursor color of the text input.
804+
805+
| Type |
806+
| ------------------ |
807+
| [color](colors.md) |
808+
809+
---
810+
811+
### `selectionHandleColor` <div class="label android">Android</div>
812+
813+
Sets the color of the selection handle. Unlike `selectionColor`, it allows the selection handle color to be customized independently of the selection's color.
804814

805815
| Type |
806816
| ------------------ |

website/versioned_docs/version-0.76/textinput.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,17 @@ The start and end of the text input's selection. Set start and end to the same v
817817

818818
### `selectionColor`
819819

820-
The highlight and cursor color of the text input.
820+
The highlight, selection handle and cursor color of the text input.
821+
822+
| Type |
823+
| ------------------ |
824+
| [color](colors.md) |
825+
826+
---
827+
828+
### `selectionHandleColor` <div class="label android">Android</div>
829+
830+
Sets the color of the selection handle. Unlike `selectionColor`, it allows the selection handle color to be customized independently of the selection's color.
821831

822832
| Type |
823833
| ------------------ |

0 commit comments

Comments
 (0)