Skip to content

Commit 4555977

Browse files
committed
Update new-arch-missingProps.md
1 parent f987a60 commit 4555977

File tree

1 file changed

+41
-45
lines changed

1 file changed

+41
-45
lines changed

website/versioned_docs/version-0.80/new-arch-missingProps.md

Lines changed: 41 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -10,98 +10,94 @@ original_id: new-arch-missingProps
1010
1111
## Missing Props List
1212

13-
### `OnClick`
14-
15-
Called when the element is clicked. Inherited View Prop.
13+
### `overflow`
1614

17-
| type | required |
15+
| type | default |
1816
|:--|:--|
19-
| function | No |
17+
| enum('visible', 'hidden') | 'visible' |
2018

21-
### `onKeyDownCapture`
19+
### `opacity`
2220

23-
Occurs when the onKeyDown event is being routed. onKeyDown is the corresponding bubbling event. On Windows, this corresponds to PreviewKeyDown
21+
Sets the transparency of the view.
2422

2523
| type | required |
2624
|:--|:--|
2725
| number | No |
2826

29-
### `onKeyUpCapture`
27+
### `snapToInterval`
3028

31-
Occurs when the onKeyUp event is being routed. onKeyUp is the corresponding bubbling event. On Windows, this corresponds to PreviewKeyUp.
29+
When set, causes the scroll view to stop at multiples of the value of snapToInterval. This can be used for paginating through children that have lengths smaller than the scroll view. Typically used in combination with snapToAlignment and decelerationRate="fast". Overrides less configurable pagingEnabled prop.
3230

3331
| type | required |
3432
|:--|:--|
3533
| number | No |
3634

37-
### `overflow`
38-
39-
| type | default |
40-
|:--|:--|
41-
| enum('visible', 'hidden') | 'visible' |
42-
43-
### `zIndex`
44-
45-
zIndex controls which components display on top of others. Normally, you don't use zIndex. Components render according to their order in the document tree, so later components draw over earlier ones. zIndex may be useful if you have animations or custom modal interfaces where you don't want this behavior.
35+
### `snapToAlignment`
4636

47-
It works like the CSS z-index property - components with a larger zIndex will render on top. Think of the z-direction like it's pointing from the phone into your eyeball. See https://developer.mozilla.org/en-US/docs/Web/CSS/z-index for more details.
37+
When snapToInterval is set, snapToAlignment will define the relationship of the snapping to the scroll view.
4838

4939
| type | required |
5040
|:--|:--|
51-
| number | No |
41+
| enum('start', 'center', 'end') | No |
5242

53-
### `tooltip`
43+
### `pagingEnabled`
5444

55-
Text shown on hover. While tooltip support isn’t fully available for all components, it does work with some props such as `Text`.
45+
When true, the scroll view stops on multiples of the scroll view's size when scrolling. This can be used for horizontal pagination.
5646

57-
| type | required |
47+
| type | default |
5848
|:--|:--|
59-
| string | No |
49+
| bool | false |
6050

61-
### `opacity`
51+
### `selectable`
6252

63-
Sets the transparency of the view.
53+
Lets the user select text, to use the native copy and paste functionality.
6454

65-
| type | required |
55+
| type | default |
6656
|:--|:--|
67-
| number | No |
57+
| bool | false |
6858

69-
### `onMomentumScrollBegin`
59+
### `selectionColor`
7060

71-
Called when the momentum scroll starts (scroll which occurs as the ScrollView starts gliding).
61+
The highlight color of the text.
7262

7363
| type | required |
7464
|:--|:--|
75-
| function | No |
65+
| color | No |
66+
67+
### `textAlign`
7668

77-
### `onMomentumScrollEnd`
69+
Align the input text to the left, center, or right sides of the input field.
7870

79-
Called when the momentum scroll ends (scroll which occurs as the ScrollView glides to a stop).
71+
Possible values for textAlign are:
72+
73+
- left
74+
- center
75+
- right
8076

8177
| type | required |
8278
|:--|:--|
83-
| function | No |
79+
| enum('left', 'center', 'right') | No |
8480

85-
### `pagingEnabled`
81+
### `contextMenuHidden`
8682

87-
When true, the scroll view stops on multiples of the scroll view's size when scrolling. This can be used for horizontal pagination.
83+
If true, context menu is hidden. The default value is false.
8884

89-
| type | default |
85+
| type | required |
9086
|:--|:--|
91-
| bool | false |
87+
| bool | No |
9288

93-
### `selectable`
89+
### `writingDirection`
9490

95-
Lets the user select text, to use the native copy and paste functionality.
91+
The writing direction of the text.
9692

97-
| type | default |
93+
| type | required |
9894
|:--|:--|
99-
| bool | false |
95+
| enum('auto', 'ltr', 'rtl') | No |
10096

101-
### `selectionColor`
97+
### `keyboardType`
10298

103-
The highlight color of the text.
99+
Determines which keyboard to open, e.g.numeric
104100

105101
| type | required |
106102
|:--|:--|
107-
| color | No |
103+
| enum('default', 'email-address', 'numeric', 'phone-pad', 'ascii-capable', 'numbers-and-punctuation', 'url', 'number-pad', 'name-phone-pad', 'decimal-pad', 'twitter', 'web-search', 'visible-password') | No |

0 commit comments

Comments
 (0)