1.0.0-rc.6 • Published 3 months ago
tripkit-react v1.0.0-rc.6
TripKit SDK for React
The React SDK for the TripGo API.
Installation
npm install tripkit-react
Usage
Get a TriGo API key and pass it to the TKRoot component through the config object.
import React from 'react';
import ReactDOM from 'react-dom/client';
import 'reflect-metadata'; // Important: Polyfill for Metadata Reflection API
import { TKRoot, TKUITripPlanner } from 'tripkit-react';
const config = {
apiKey: <MY_TRIPGO_API_KEY>
};
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
<TKRoot config={config}>
<TKUITripPlanner />
</TKRoot>);
SDK Reference
1.0.0-rc.6
3 months ago
1.0.0-rc.5
3 months ago
1.0.0-rc.4
6 months ago
1.0.0-rc.3
8 months ago
1.0.0-rc.0
11 months ago
0.1.39-4
1 year ago
0.1.39-3
1 year ago
0.1.39-2
1 year ago
0.1.39-1
1 year ago
0.1.39-0
1 year ago
0.3.0
1 year ago
0.2.0
1 year ago
0.1.38
1 year ago
0.1.37
2 years ago
0.1.31
2 years ago
0.1.32
2 years ago
0.1.33
2 years ago
0.1.34
2 years ago
0.1.35
2 years ago
0.1.36
2 years ago
0.1.30
3 years ago
0.1.29
3 years ago
0.1.28
4 years ago
0.1.27
4 years ago
0.1.26
4 years ago
0.1.25
4 years ago
0.1.24
4 years ago
0.1.23
4 years ago
0.1.21
4 years ago
0.1.22
4 years ago
0.1.20
4 years ago
0.1.19
4 years ago
0.1.18
4 years ago
0.1.17
4 years ago
0.1.16
4 years ago
0.1.15
4 years ago
0.1.14
4 years ago
0.1.13
4 years ago
0.1.12
4 years ago
0.1.11
4 years ago
0.1.10
4 years ago
0.1.9
4 years ago
0.1.8
4 years ago
0.1.7
4 years ago
0.1.4
4 years ago
0.1.6
4 years ago
0.1.5
4 years ago
0.1.2
4 years ago
0.1.1
4 years ago
0.1.3
4 years ago
0.1.0
4 years ago