Skip to content

Commit 4ee1646

Browse files
committed
feat: new reactNativeProps and getDynamicReactNativeProps in HTMLElementModels
`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.
1 parent 8dacea7 commit 4ee1646

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

packages/render-html/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
"dependencies": {
9090
"@jsamr/counter-style": "^2.0.1",
9191
"@jsamr/react-native-li": "^2.3.0",
92-
"@native-html/transient-render-engine": "^9.2.4",
92+
"@native-html/transient-render-engine": "10.0.0",
9393
"@types/ramda": "^0.27.40",
9494
"@types/urijs": "^1.19.15",
9595
"prop-types": "^15.5.7",

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4380,9 +4380,9 @@ __metadata:
43804380
languageName: node
43814381
linkType: hard
43824382

4383-
"@native-html/transient-render-engine@npm:^9.2.4":
4384-
version: 9.2.4
4385-
resolution: "@native-html/transient-render-engine@npm:9.2.4"
4383+
"@native-html/transient-render-engine@npm:10.0.0":
4384+
version: 10.0.0
4385+
resolution: "@native-html/transient-render-engine@npm:10.0.0"
43864386
dependencies:
43874387
"@native-html/css-processor": 1.10.2
43884388
"@types/ramda": ^0.27.44
@@ -4394,7 +4394,7 @@ __metadata:
43944394
peerDependencies:
43954395
"@types/react-native": "*"
43964396
react-native: ^*
4397-
checksum: 898c92000bc2b185e59649a479e341318021856aef4bfcc25c2434d1a136ea4116fa450d6ca9c1c81436792a9a5ccc8edfb2bd6d2d1afa8547a8aaf56a6f6795
4397+
checksum: 5830444fd08f6db40226fddc583b743452e9386538059fda32e2e20f7bf76b2972c837a12bce82353622f41a2dfd5665ab61071abbf6260c499b4603e79d7777
43984398
languageName: node
43994399
linkType: hard
44004400

@@ -19965,7 +19965,7 @@ fsevents@^1.2.7:
1996519965
"@jsamr/counter-style": ^2.0.1
1996619966
"@jsamr/react-native-li": ^2.3.0
1996719967
"@microsoft/api-extractor": ^7.14.0
19968-
"@native-html/transient-render-engine": ^9.2.4
19968+
"@native-html/transient-render-engine": 10.0.0
1996919969
"@release-it/conventional-changelog": ^2.0.1
1997019970
"@testing-library/react-hooks": ^7.0.0
1997119971
"@testing-library/react-native": ^7.2.0

0 commit comments

Comments
 (0)