react-native-terra-react-graphs
TypeScript icon, indicating that this package has built-in type declarations

0.1.6 • Public • Published

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

Package Sidebar

Install

npm i react-native-terra-react-graphs

Weekly Downloads

0

Version

0.1.6

License

MIT

Unpacked Size

70.1 kB

Total Files

34

Last publish

Collaborators

  • elliottyu