mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
13 lines
419 B
JavaScript
13 lines
419 B
JavaScript
|
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:
|
||
|
// (This is useful for debugging the SDK as ut seems source
|
||
|
// maps cannot pass through two stages).
|
||
|
var MatrixReactSdk = require("../../src/index");
|
||
|
|
||
|
React.render(
|
||
|
<MatrixReactSdk.MatrixChat />,
|
||
|
document.getElementById('matrixchat')
|
||
|
);
|