import React from 'react';
import Page from './ui'

interface IProps {
  /**
   * 上传文件相关参数设置
   * domain:域名
   * token:user登陆token
   */
  uploadConfig?: {
    domain: string,
    token: string,
  }
}
export default class DigitalAssets extends React.Component<IProps, any> {
  /**
   * 文件图片上传相关配置对象
   */
  static remoteConfig = { domain: '', token: '' };
  componentDidMount() {
    // DigitalAssets.remoteConfig = this.props.uploadConfig;
  }
  render = () => <Main {...this.props} />
}

const Main = (props: any) => {


  return (
    <Page />
  );
};