Skip to content

tryterra/terra-react-graph

react-native-terra-react-graphs

Terra SDK for Graphs API

Docs

All docs can be found here:

https://docs.tryterra.co/reference/graph-react-native-sdk

Installation

npm install react-native-terra-react-graphs

Example Usage

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}
/>

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

terra-react-graph

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •