Fixed one typo and made one sentence more readable by adding 'and' to it.
This commit is contained in:
parent
523769faa7
commit
d6f46c693a
|
@ -155,10 +155,10 @@ You may have noticed that we passed all of the props down to the child
|
|||
view using `{...this.props}`. The reason for this is that
|
||||
`TouchableOpacity` is actually a composite component, and so in addition
|
||||
to depending on `setNativeProps` on its child, it also requires that the
|
||||
child perform touch handling. To dot this, it passes on [various
|
||||
child perform touch handling. To do this, it passes on [various
|
||||
props](https://facebook.github.io/react-native/docs/view.html#onmoveshouldsetresponder)
|
||||
that call back to the `TouchableOpacity` component.
|
||||
`TouchableHighlight`, in contrast, is backed by a native view only
|
||||
`TouchableHighlight`, in contrast, is backed by a native view and only
|
||||
requires that we implement `setNativeProps`.
|
||||
|
||||
## Precomputing style
|
||||
|
|
Loading…
Reference in New Issue