web-apps/apps/common/mobile/lib/view/SharingSettings.jsx
2022-12-09 16:04:33 +04:00

20 lines
748 B
JavaScript

import React, { useEffect } from 'react';
import { Navbar, Page } from 'framework7-react';
import { useTranslation } from 'react-i18next';
const ViewSharingSettings = props => {
const { t } = useTranslation();
const sharingSettingsUrl = props.sharingSettingsUrl;
const _t = t('Common.Collaboration', {returnObjects: true});
return (
<Page>
<Navbar title={t('Common.Collaboration.textSharingSettings')} backLink={_t.textBack} />
<div id="sharing-placeholder" className="sharing-placeholder">
<iframe width="100%" height="500" frameBorder={0} scrolling="0" align="top" src={sharingSettingsUrl}></iframe>
</div>
</Page>
)
};
export default ViewSharingSettings;