@plasosdk/upime-sdk
TypeScript icon, indicating that this package has built-in type declarations

4.6.18 • Public • Published

start

npm install @plasosdk/upime-sdk

usage

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);

Readme

Keywords

none

Package Sidebar

Install

npm i @plasosdk/upime-sdk

Weekly Downloads

5

Version

4.6.18

License

ISC

Unpacked Size

9.81 MB

Total Files

19

Last publish

Collaborators

  • upime_sdk_deploy
  • xiezuowei
  • superspider
  • dxdty
  • wan_jm
  • chenyang1991