An open API service indexing awesome lists of open source software.

https://github.com/skedgo/tripkit-react

The React SDK for the TripGo API
https://github.com/skedgo/tripkit-react

reactjs routing sdk-react trip-planning tripgo-api

Last synced: 6 days ago
JSON representation

The React SDK for the TripGo API

Awesome Lists containing this project

README

          

TripGo API TripKit SDK for React
======================================

The React SDK for the [TripGo API](https://developer.tripgo.com/).

## Installation

```
npm install tripkit-react
```

## Usage

[Get a TriGo API key](https://tripgo.3scale.net/signup?plan_ids[]=2357356192718) and pass it to the
[TKRoot component](https://react.developer.tripgo.com/reference/#/Main%20SDK%20component%3A%20TKRoot) through the [config object](https://react.developer.tripgo.com/reference/#/Model/TKUIConfig).

```jsx
import React from 'react';
import { createRoot } from 'react-dom/client';
import { TKRoot, TKUITripPlanner } from 'tripkit-react';

const config = {
apiKey:
};

const root = createRoot(document.getElementById('root'));

root.render(


);
```

## SDK Reference

- ### [Main SDK Component: TKRoot](https://react.developer.tripgo.com/reference/#/Main%20SDK%20component%3A%20TKRoot)

- ### [Customization](https://react.developer.tripgo.com/reference/#/Customization)

- ### [Components API](https://react.developer.tripgo.com/reference/#/Components%20API)