Terra SDK for Graphs API
All docs can be found here:
https://docs.tryterra.co/reference/graph-react-native-sdk
npm install react-native-terra-react-graphs
import { TerraGraph } from 'react-native-terra-react-graphs';
import { ActivityIndicator } from 'react-native';
// ...
<TerraGraph
type={GraphType.DAILY_RHR_SUMMARY}
styles={{ flex: 1, justifyContent: 'center' }}
loadingComponent={<ActivityIndicator />}
startDate={start}
endDate={end}
token={graphToken}
timePeriod={TimePeriod.WEEK}
toWebhook={false}
connections={Connections.APPLE_HEALTH}
/>
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library