web-apps/apps/common/mobile/lib/view/SharingSettings.jsx

20 lines
748 B
React
Raw Normal View History

2022-12-02 11:09:10 +00:00
import React, { useEffect } from 'react';
2022-12-01 13:39:06 +00:00
import { Navbar, Page } from 'framework7-react';
2022-07-29 19:25:44 +00:00
import { useTranslation } from 'react-i18next';
2022-12-01 13:39:06 +00:00
const ViewSharingSettings = props => {
2022-07-29 19:25:44 +00:00
const { t } = useTranslation();
2022-12-01 13:39:06 +00:00
const sharingSettingsUrl = props.sharingSettingsUrl;
2022-07-29 19:25:44 +00:00
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">
2022-12-09 12:04:33 +00:00
<iframe width="100%" height="500" frameBorder={0} scrolling="0" align="top" src={sharingSettingsUrl}></iframe>
2022-07-29 19:25:44 +00:00
</div>
</Page>
)
2022-12-01 13:39:06 +00:00
};
2022-07-29 19:25:44 +00:00
2022-12-01 13:39:06 +00:00
export default ViewSharingSettings;