Commit 1c3f594
Add pointerEvents prop to TextProps (#56950)
Summary:
Add `pointerEvents` to `TextProps` in the Flow source. This prop is supported at the native layer — `BaseParagraphProps` (the C++ props struct for Text/Paragraph) extends `ViewProps`, which includes `pointerEvents`. The old hand-written TypeScript types (`Text.d.ts`) already declared this prop, but the Flow source did not, causing a gap in the auto-generated strict API types (`types_generated`).
Changelog:
[General][Fixed] - **Strict TypeScript API**: Add missing `pointerEvents` prop to `Text` component
Differential Revision: D1061839601 parent 7cc8c76 commit 1c3f594
2 files changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
127 | 134 | | |
128 | 135 | | |
129 | 136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
5093 | 5093 | | |
5094 | 5094 | | |
5095 | 5095 | | |
| 5096 | + | |
5096 | 5097 | | |
5097 | 5098 | | |
5098 | 5099 | | |
| |||
6008 | 6009 | | |
6009 | 6010 | | |
6010 | 6011 | | |
6011 | | - | |
| 6012 | + | |
6012 | 6013 | | |
6013 | 6014 | | |
6014 | 6015 | | |
| |||
6228 | 6229 | | |
6229 | 6230 | | |
6230 | 6231 | | |
6231 | | - | |
| 6232 | + | |
6232 | 6233 | | |
6233 | 6234 | | |
6234 | 6235 | | |
| |||
6242 | 6243 | | |
6243 | 6244 | | |
6244 | 6245 | | |
6245 | | - | |
| 6246 | + | |
6246 | 6247 | | |
6247 | 6248 | | |
6248 | 6249 | | |
| |||
0 commit comments