Skip to content

Commit 132d2c4

Browse files
committed
docs(blog): a few erratum
1 parent 95f2491 commit 132d2c4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

apps/website/blog/2021-10-23-6-2-updates.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ import APIReference from '@site/src/components/APIReference';
1515
import Reference from '@site/src/components/Reference';
1616

1717
It has been over three months since the first final version of the Foundry
18-
release has been made public. Today, I am glad to announce the release of the
19-
6.2 version! This new version focuses on two areas of improvements:
18+
release has been made public. Today, I am glad to announce the release of the 6.2 version! This new version focuses on two areas of
19+
improvements:
2020

2121
1. [Accessibility](https://en.wikipedia.org/wiki/Computer_accessibility), and more specifically integration with _VoiceOver_ and _TalkBack_ screen readers;
2222
2. Richer [model-based
@@ -168,8 +168,9 @@ This is where <APIReference name="HTMLElementModel" member="getReactNativeProps"
168168

169169
The purpose of this field is identical to <APIReference name="HTMLElementModel"
170170
member="reactNativeProps" /> field. It only differs in that instead of a plain
171-
object, it is a method which takes two arguments, `tnode` (the Transient Node)
172-
and `element` (the DOM node) and returns a plain object (see <APIReference
171+
object, it is a method which takes three arguments. A `tnode` (the Transient Node),
172+
the `preGeneratedProps` (props generated by the TRE such as accessibility props, see next section)
173+
and and `element` (the DOM node). Finally, it returns a plain object (see <APIReference
173174
name="ReactNativePropsDefinitions" />).
174175

175176
In the example below, a custom `nav-widget` tag is registered. This time, we
@@ -267,7 +268,6 @@ const customHTMLElementModels = {
267268
a: defaultHTMLElementModels.a.extend((aModel) => ({
268269
reactNativeProps: {
269270
native: {
270-
...aModel.reactNativeProps,
271271
accessibilityHint: 'Open in your system web browser.'
272272
}
273273
}

0 commit comments

Comments
 (0)