import React, { Component } from 'react';
import { observer, inject } from "mobx-react";
import { Popover, List, ListItem, Navbar, NavTitle, NavRight } from 'framework7-react';
import { Sheet, Toolbar, BlockTitle, Link, Page, View, Icon } from 'framework7-react';
import { withTranslation, useTranslation } from 'react-i18next';
@inject('users')
@observer
class PageUsers extends Component {
constructor(props){
super(props)
}
render() {
const { t } = this.props;
const userlist = this.props.users;
return (
{t("Collaboration.textEditUser")}
{userlist.users.map((model, i) => (
))}
)
}
};
const PageCollaboration = () => {
"use strict";
return
Close
;
};
class CollaborationPopover extends Component {
constructor(props) {
super(props);
}
render() {
return (
)
}
}
class CollaborationSheet extends Component {
constructor(props) {
super(props);
this.routes = [
{path: '/', component: 'PageCollaboration'},
{path: '/users/', component: 'PageUsers'}
];
}
render() {
return (
)
}
}
const pageusers = withTranslation()(PageUsers);
// export withTranslation()(CollaborationPopover);
export {CollaborationPopover, CollaborationSheet, PageCollaboration, pageusers as PageUsers}