diff --git a/README.md b/README.md index 5f83157..69086bc 100644 --- a/README.md +++ b/README.md @@ -34,13 +34,17 @@ npm install react-native-wear-connectivity ## Example of implementation -Implementation of the above counter application. +Example implementation of the above counter application for WearOS and Android Mobile. ```js import React, { useEffect, useState } from 'react'; -import { View, Text, Button } from 'react-native'; +import { View, Text, Button, StyleSheet } from 'react-native'; import { sendMessage, watchEvents } from 'react-native-wear-connectivity'; +function App() { + return ; +} + function CounterScreen() { const [count, setCount] = useState(0); @@ -63,12 +67,34 @@ function CounterScreen() { }; return ( - - {count} +