Skip to content

Commit

Permalink
docs: Update React Native Example code to Match React Native syntax. (#…
Browse files Browse the repository at this point in the history
…7028)

The React Native example previously used `<div> </div>` tags and as we all know, divs are a react thing.

This PR fixes that by using the intended (I believe) `<Text> </Text>` tags
  • Loading branch information
theafolayan committed Mar 5, 2024
1 parent eec3786 commit 5e7b273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/framework/react/react-native.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,6 @@ function MyComponent() {
notifyOnChangeProps,
})

return <div>DataUpdatedAt: {dataUpdatedAt}</div>
return <Text>DataUpdatedAt: {dataUpdatedAt}</Text>
}
```

0 comments on commit 5e7b273

Please sign in to comment.