2015-06-09 16:40:42 +00: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 15:41:34 +00:00
|
|
|
// (This is useful for debugging the SDK as it seems source
|
2015-06-09 16:40:42 +00:00
|
|
|
// maps cannot pass through two stages).
|
|
|
|
var MatrixReactSdk = require("../../src/index");
|
|
|
|
|
|
|
|
React.render(
|
|
|
|
<MatrixReactSdk.MatrixChat />,
|
|
|
|
document.getElementById('matrixchat')
|
|
|
|
);
|