Commit 4ee1646
committed
feat: new
`getDynamicReactNativeProps` allows you to create even richer model-based
custom renderers, since you can customize almost all native props from
just one function from a `TNode`.
`reactNativeProps` is similar, but static. It's still a great way to
customize accessibility and special text props such as `selectable`,
`numberOfLines`... etc.reactNativeProps and getDynamicReactNativeProps in HTMLElementModels1 parent 8dacea7 commit 4ee1646
2 files changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4380 | 4380 | | |
4381 | 4381 | | |
4382 | 4382 | | |
4383 | | - | |
4384 | | - | |
4385 | | - | |
| 4383 | + | |
| 4384 | + | |
| 4385 | + | |
4386 | 4386 | | |
4387 | 4387 | | |
4388 | 4388 | | |
| |||
4394 | 4394 | | |
4395 | 4395 | | |
4396 | 4396 | | |
4397 | | - | |
| 4397 | + | |
4398 | 4398 | | |
4399 | 4399 | | |
4400 | 4400 | | |
| |||
19965 | 19965 | | |
19966 | 19966 | | |
19967 | 19967 | | |
19968 | | - | |
| 19968 | + | |
19969 | 19969 | | |
19970 | 19970 | | |
19971 | 19971 | | |
| |||
0 commit comments