2015-06-09 18:40:42 +02:00
|
|
|
var React = require("react");
|
|
|
|
// In normal usage of the module:
|
|
|
|
//var MatrixReactSdk = require("matrix-react-sdk");
|
|
|
|
// Or to import the source directly from the file system:
|
2015-06-18 17:41:34 +02:00
|
|
|
// (This is useful for debugging the SDK as it seems source
|
2015-06-09 18:40:42 +02:00
|
|
|
// maps cannot pass through two stages).
|
|
|
|
var MatrixReactSdk = require("../../src/index");
|
|
|
|
|
|
|
|
React.render(
|
|
|
|
<MatrixReactSdk.MatrixChat />,
|
|
|
|
document.getElementById('matrixchat')
|
|
|
|
);
|