File tree 4 files changed +13
-5
lines changed
4 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -184,9 +184,11 @@ export default function CustomExample({
184
184
< RenderHTML
185
185
key = { `custom-${ instance } ` }
186
186
source = { { html : table1 } }
187
- onLinkPress = { onLinkPress }
188
187
contentWidth = { availableWidth }
189
- { ...htmlConfig }
188
+ renderersProps = { {
189
+ a : { onPress : onLinkPress } ,
190
+ ...htmlConfig . renderersProps
191
+ } }
190
192
debug = { false }
191
193
/>
192
194
) ;
Original file line number Diff line number Diff line change @@ -394,10 +394,13 @@ export default function HeuristicTable({
394
394
< RenderHTML
395
395
key = { `custom-${ instance } ` }
396
396
source = { { html } }
397
- onLinkPress = { onLinkPress }
398
397
contentWidth = { availableWidth }
399
398
enableExperimentalMarginCollapsing
400
399
{ ...htmlConfig }
400
+ renderersProps = { {
401
+ a : { onPress : onLinkPress } ,
402
+ ...htmlConfig . renderersProps
403
+ } }
401
404
debug = { false }
402
405
/>
403
406
) ;
Original file line number Diff line number Diff line change @@ -191,9 +191,12 @@ export default function SimpleExample({
191
191
< RenderHTML
192
192
key = { `simple-${ instance } ` }
193
193
source = { { html : table1 } }
194
- onLinkPress = { onLinkPress }
195
194
contentWidth = { availableWidth }
196
195
{ ...htmlConfig }
196
+ renderersProps = { {
197
+ a : { onPress : onLinkPress } ,
198
+ ...htmlConfig . renderersProps
199
+ } }
197
200
debug = { false }
198
201
/>
199
202
) ;
Original file line number Diff line number Diff line change @@ -39,9 +39,9 @@ export default function YoutubeExample({
39
39
key = { `youtube-${ instance } ` }
40
40
contentWidth = { availableWidth }
41
41
source = { { html : youtubeIframe } }
42
- onLinkPress = { onLinkPress }
43
42
{ ...htmlConfig }
44
43
renderersProps = { {
44
+ a : { onPress : onLinkPress } ,
45
45
iframe : {
46
46
scalesPageToFit
47
47
}
You can’t perform that action at this time.
0 commit comments