hotglue-elements
React element to present hotglue integrations.
Install
npm install --save hotglue-elements
Usage
import React, { Component } from 'react';
import Connections from 'hotglue-elements';
import 'hotglue-elements/dist/index.css';
class Example extends Component {
getUserId() {
// TODO: Get real id of current user
return 'test-id';
}
render() {
return <Connections tenant={this.getUserId()} />;
}
}
License
MIT © hotgluexyz