mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-18 01:31:45 +03:00
12 lines
419 B
JavaScript
12 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')
|
|
);
|