import React from 'react';
import ReactDom from 'react-dom';
import { BoardSDK, UserType} from '@plasosdk/upime-sdk';
import '@plasosdk/upime-sdk/dist/esm/index.css';
const query = "appId=test&loginName=u1&ownerLoginName=U1&recordId=1&signature=4A15FF245EBB5CFF76013B7473D7A9AA8A842E37&userName=user1&userType=editor&validBegin=1648286177&validTime=10800"
const loginName = "u1";
const userName = "user1";
const userType: UserType = "editor";
var reactRoot = document.createElement('div');
document.body.appendChild(reactRoot);
ReactDom.render(
<BoardSDK
loginName={loginName}
userName={userName}
userType={userType}
avatarUrl="https://i.pravatar.cc/150"
query={query}
/>, reactRoot);